Part Number Hot Search : 
1N5999B 00MAAB T74LS573 TGA45 2SK31 SF507 2SK31 10500
Product Description
Full Text Search
 

To Download ADUC7020ACP62 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  precision analog microcontroller 12-bit analog i/o, arm7tdmi? mcu preliminary technical data aduc702x series features analog i/o multi-channel, 12-bit, 1msps adc - up to 16 adc channels * fully differential and single-ended modes 0 to v ref analog input range 12-bit voltage output dacs - up to 4 dac outputs available* on-chip 20ppm/c voltage reference on-chip temperature sensor (3c) uncommitted voltage comparator microcontroller arm7tdmi core, 16/32-bit risc architecture jtag port supports code download and debug clocking options: - trimmed on-chip oscillator ( 3%) - external watch crystal - external clock source 45mhz pll with programmable divider memory 62k bytes flash/ee memory, 8k bytes sram in-circuit download, jtag based debug software triggered in-circuit re-programmability on-chip peripherals uart, 2 x i 2 c and spi serial i/o up to 40-pin gpio port* 4 x general purpose timers wake-up and watchdog timers power supply monitor three-phase 16-bit pwm generator* pla C programmable logic (array) power specified for 3v operation active mode: 3ma (@1mhz) 50ma (@45mhz) packages and temperature range from 40 lead 6x6mm lfcsp to 80 pin lqfp* fully specified for C40c to 125c operation tools low-cost quickstart development system full third-party support * package, pwm, gpio availability and number of analog i/o depend on part model. see page 9. applications industrial control and automation systems smart sensors, precision instrumentation base station systems, optical networking (see general description on page 11) functional block diagram 1msps 12-bit adc adc0 + - cmp0 cmp1 cmp out ... ... v ref adc11 arm7tdmi-based mcu with additional peripherals rst aduc7026* mux bandgap ref temp sensor 2kx32 sram 31kx16 flash/eeprom gpio jtag 4 gen. pur- pose timers serial i/o uart, spi, i 2 c pla por osc &pll psm pwm0l pwm0h pwm1h pwm1l pwm2h pwm2l three- phase pwm dac0 12-bit dac dac3 12-bit dac dac2 12-bit dac dac1 12-bit dac xclki xclko ext. memory interface figure 1 rev. prc information furnished by analog devices is believed to be accurate and reliable. however, no responsibility is assumed by analog devices for its use, nor for any infringements of patents or other rights of third parties that may result from its use. specifications subject to change without notice. no license is granted by implication or otherwise under any patent or patent ri ghts of analog devices. trademarks and registered trademarks are the proper ty of their respective companies. one technology way, p.o. box 9106, norwood, ma 02062-9106, u.s.a. tel: 781.329.4700 www.analog.com fax: 781.326.8703 ? 2005 analog devices, inc. all rights reserved.
aduc702x series preliminary technical data rev. prc | page 2 of 80 table of contents aduc702xspecifications ............................................................ 3 terminology ...................................................................................... 7 absolute maximum ratings............................................................ 8 ordering guide........................................................................... 10 pin function descriptions C aduc7020/aduc7021/aduc7022 ........................................................................................................... 11 pin function descriptions C aduc7024/aduc7025................. 13 pin function descriptions C aduc7026/aduc7027................. 16 general description ....................................................................... 20 overview of the arm7tdmi core.......................................... 20 memory organisation................................................................. 22 adc circuit information ............................................................... 27 general overview....................................................................... 27 adc transfer function............................................................. 27 typical operation....................................................................... 28 converter operation................................................................... 30 driving the analog inputs.......................................................... 31 adc calibration ........................................................................ 31 temperature sensor ................................................................... 31 bandgap reference ..................................................................... 31 nonvolatile flash/ee memory ..................................................... 33 flash/ee memory overview ...................................................... 33 flash/ee memory and the aduc702x................................... 33 flash/ee memory security ........................................................ 33 flash/ee control interface........................................................ 34 execution time from sram and flash/ee ......................... 35 reset and remap ........................................................................ 37 other analog peripherals............................................................... 38 dac.............................................................................................. 38 power supply monitor ............................................................... 40 comparator ................................................................................. 40 oscillator and pll - power control ......................................... 41 digital peripherals.......................................................................... 43 three-phase pwm..................................................................... 43 general purpose i/o.................................................................. 50 serial port mux........................................................................... 52 programmable logic array (pla)........................................... 62 processor reference peripherals.................................................... 65 interrupt system ......................................................................... 65 timers .......................................................................................... 67 external memory interfacing ................................................... 71 aduc702x hardware design considerations............................ 75 power supplies ............................................................................ 75 grounding and board layout recommendations................. 75 clock oscillator .......................................................................... 76 power-on reset operation .......................................................... 76 typical sysem configuration ..................................................... 77 development tools ........................................................................ 78 in-circuit serial downloader................................................... 78 outline dimensions ....................................................................... 79
preliminary technical data aduc702x series rev. prc | page 3 of 80 aduc702xspecifications 1 table 1. (av dd = iov dd = 2.7 v to 3.6 v, v ref = 2.5 v internal reference, f core = 45mhz, all specifications t a = t max to t min , unless otherwise noted.) parameter aduc702x unit test conditions/comments adc channel specifications adc powerup time 500 us dc accuracy 2, 3 f sample = 1msps resolution 12 bits integral nonlinearity integral nonlinearity 4 1.5 0.5 2.0 lsb max lsb typ lsb typ 2.5v internal reference 2.5v internal reference 1.0v external reference differential nonlinearity differential nonlinearity 4 dc code distribution +1/-0.9 0.5 +1/-0.9 1 lsb max lsb typ lsb typ lsb typ 2.5v internal reference 2.5v internal reference 1.0v external reference adc input is a dc voltage calibrated endpoint errors 5 offset error offset error match 5 1 lsb max lsb typ gain error gain error match 5 1 lsb max lsb typ dynamic performance fin = 10khz sine wave, f sample = 1msps signal-to-noise ratio (snr) 6 71 db typ total harmonic distortion (thd) -78 db typ peak harmonic or spurious noise channel-to-channel crosstalk 7 -78 -80 db typ db typ analog input input voltage ranges differential mode v cm 8 v ref /2 volts single-ended mode 0 to v ref volts leakage current 5 a max input capacitance 20 pf typ during adc acquisition on-chip voltage reference output voltage 2.5 v 0.47f from v ref to agnd accuracy 10 mv max measured at t a = 25c reference temperature coefficient power supply rejection ratio 10 80 ppm/c typ db typ output impedance internal v ref power-on time 10 1 ? typ ms typ external reference input 9 input voltage range input impedance 0.625 av dd tbd v min v max k? typ dac channel specifications r l = 5k ? , c l = 100pf dc accuracy 10 resolution 12 bits relative accuracy 2 lsb typ differential nonlinearity 1 lsb max guaranteed monotonic offset error 2 5 mv max mv max dac output unbuffered dac output buffered gain error gain error mismatch 1 tbd % max % typ % of fullscale on dac0
aduc702x series preliminary technical data rev. prc | page 4 of 80 parameter aduc702x unit test conditions/comments analog outputs output voltage range_0 output voltage range_1 output voltage range_2 0 to dacref 0 to 2.5v 0 to dacv dd v typ v typ v typ dacref range: dacgnd to dacv dd output impedance 10 ? typ dac ac characteristics voltage output settling time voltage output settling time digital to analog glitch energy 10 15 tbd s typ s typ nv-sec typ dac output buffered dac output unbuffered i lsb change at major carry comparator input offset voltage input bias current input voltage range input capacitance hysteresis response time 10 5 agnd to av dd -1.2 7 5 10 1 mv a typ vmin/vmax pf typ mv min mv max s min hysteresis can be turned on or off via the cmphyst bit in the cmpcon register 100mv overdrive and configured for 0.5s response time (cmpres = 11) temperature sensor voltage output at 25c voltage tc 780 -1.3 mv typ mv/c typ accuracy 3 c typ power supply monitor (psm) iov dd trip point selection 2.79 v two selectable trip points 3.07 v power supply trip point accuracy 2.5 % max of the selected nominal trip point voltage power on reset 2.35 v typ watchdog timer (wdt) 4 timeout period 0 512 ms min s max flash/ee memory endurance 11 10,000 cycles min data retention 12 15 years min t j = 55c digital inputs all digital inputs excluding xclki and xclko logic 1 input current (leakage current) 1 a max vih = vdd or vih = 5v 0.2 a typ vih = vdd or vih = 5v logic 0 input current -50 a max vil = 0v -30 a typ vil = 0v input capacitance 10 pf typ logic inputs 4 all logic inputs excluding xclki and xclko vinl, input low voltage 0.4 v max vinh, input high voltage 2.0 v min logic outputs all digital outputs excluding xclki and xclko voh, output high voltage 2.3v v min i source = 1.6ma vol, output low voltage 13 0.4 v max i sink = 1.6ma crystal inputs xclki and xclko logic inputs, xclki only vinl, input low voltage v typ vinh, input high voltage v typ xclki input capacitance 10 pf typ xclko output capacitance 10 pf typ
preliminary technical data aduc702x series rev. prc | page 5 of 80 parameter aduc702x unit test conditions/comments internal oscillator 32.768 khz typ 3 % max mcu clock rate 355.5 45.5 khz min mhz max 8 programmable core clock selections within this range mcu startup time at power-on from idle mode from power-down mode tbd tbd tbd typ typ typ core clock = tbd mhz programmable logic array (pla) propagation delay tbd ns typ from input pin to output pin power requirements 14 , 15 power supply voltage range av dd C agnd and iov dd - iognd 2.7 v min 3.6 v max analog power supply currents avdd current 200 a typ 250 a max dacvdd current 16 3 a typ 6 a max power supply current normal mode iovdd current 7 ma typ cd = 7 8 ma max 11 ma typ cd = 3 12 ma max 40 ma typ cd = 0 (45mhz clock) 50 ma max power supply current idle mode iovdd current 25 ma typ 30 ma max power supply current power down mode iovdd current 250 a typ at 85c 400 a max 600 a typ at 125c 800 a max additional power supply currents 4 adc 2 ma typ at 1msps ma typ at 62.5ksps dac 2 ma typ buffer on 1 temperature range -40 to +125c 2 all adc channel specifications are guaranteed d uring normal microconverter core operation. 3 these specification apply to all adc input channels. 4 these numbers are not production tested but are supported by design and/or characterization data on production release. 5 based on external adc system components, the user may need to execute a system calibration to remove external endpoint and a chieve these specifications.. 6 snr calculation includes distortion and noise components. 7 channel-to-channel crosstalk is measured on adjacent channels. 8 the input signal can be centered on any dc common-mode voltage (v cm ) as long as this value is within the adc voltage input range specified. 9 when using an external reference input pin, the internal reference must be disabled by setting the lsb in the refcon memory m apped register to 0. 10 dac linearity is calc ulated using reduced co de range of 100 to 3995 11 endurance is qualified as per je dec std. 22 method a117 and measured at -40c, +25c, +85c and +125c. 12 retention lifetime equivalent at junction temperature (tj) = 55c as per jedec std. 22 method a117. retenti on lifetime will de rate with junction temperature. 13 test carried out with a maximum of 8 i/o set to a low output level. 14 power supply current consumpt ion is measured in normal, idle and power- down modes under the following conditions: normal mode: tbd idle mode: tbd power-down: tbd 15 dv dd power supply current increases typically by tbd ma during a flash/ee memory program or erase cycle.
aduc702x series preliminary technical data rev. prc | page 6 of 80 16 on the aduc7020/21/22, this current mu st be added to avdd current.
preliminary technical data aduc702x series rev. prc | page 7 of 80 terminology adc specifications integral nonlinearity this is the maximum deviation of any code from a straight line passing through the endpoints of the adc transfer function. the endpoints of the transfer function are zero scale, a point 1/2 lsb below the first code transition and full scale, a point 1/2 lsb above the last code transition. differential nonlinearity this is the difference between the measured and the ideal 1 lsb change between any two adjacent codes in the adc. offset error this is the deviation of the first code transition (0000 . . . 000) to (0000 . . . 001) from the ideal, i.e., +1/2 lsb. gain error this is the deviation of the last code transition from the ideal ain voltage (full scale C 1.5 lsb) after the offset error has been adjusted out. signal to (noise + distortion) ratio this is the measured ratio of signal to (noise + distortion) at the output of the adc. the signal is the rms amplitude of the fundamental. noise is the rms sum of all nonfundamental signals up to half the sampling frequency (fs/2), excluding dc. the ratio is dependent upon the number of quantization levels in the digitisation process; the more levels, the smaller the quantization noise. the theoretical signal to (noise + distortion) ratio for an ideal n-bit converter with a sine wave input is given by: signal to (noise + distortion) = (6.02n + 1.76) db thus for a 12-bit converter, this is 74 db. total harmonic distortion total harmonic distortion is the ratio of the rms sum of the harmonics to the fundamental. dac specifications relative accuracy relative accuracy or endpoint linearity is a measure of the maximum deviation from a straight line passing through the endpoints of the dac transfer function. it is measured after adjusting for zero error and full-scale error. voltage output settling time this is the amount of time it takes for the output to settle to within a 1 lsb level for a full-scale input change..
aduc702x series preliminary technical data rev. prc | page 8 of 80 absolute maximum ratings table 2. absolute maximum ratings (t a = 25c unless otherwise noted) dv dd = iov dd , agnd = refgnd = dacgnd = gndref parameter rating av dd to dv dd -0.3v to +0.3v agnd to dgnd -0.3v to +0.3v dv dd to dgnd, av dd to agnd -0.3v to +7v digital input voltage to dgnd -0.3v to +5.5v digital output voltage to dgnd -0.3v to +5.5v vref to agnd -0.3v to avdd+0.3v analog inputs to agnd -0.3v to avdd+0.3v operating temperature range industrial aduc702x C40c to +125c storage temperature range tbd junction temperature 125c ja thermal impedance (csp) tbd ja thermal impedance (lqfp) tbd lead temperature, soldering vapor phase (60 sec) tbd infrared (15 sec) tbd stresses above those listed under absolute maximum ratings may cause permanent damage to the device. this is a stress rating on ly; functional operation of the device at these or any other conditions above those listed in the operational sections of this spec ification is not implied. exposure to absolute maximum rating conditions for extended periods may affect device reliability. esd caution esd (electrostatic discharge) sensitive device. electrosta tic charges as high as 4000 v readily accumulate on the human body and test equipment and can discharge with out detection. although this product features proprietary esd protection circuitry, permanent dama ge may occur on devices subjected to high-energy electrostatic discharges. therefore, proper esd precautions are recommended to avoid performance degradation or loss of functionality.
preliminary technical data aduc702x series rev. prc | page 9 of 80 pin configuration 40-lead csp 20 31 10 11 pin 1 identifier 1 40 aduc7020/21/22 top view (not to scale) 30 21 64-lead csp 33 32 49 48 16 17 pin 1 identifier 1 64 aduc7024/aduc7025 top view (not to scale) 64-lead lqfp 64 49 17 1 16 48 33 pin 1 identifier top view (not to scale) aduc7024/aduc7025 64-lead lqfp 32 80-lead lqfp 80 61 21 1 20 60 41 pin 1 identifier top view (not to scale) aduc7026/aduc7027 80-lead lqfp 40
aduc702x series preliminary technical data rev. prc | page 10 of 80 ordering guide model adc channels dac channels flash / ram pwm ext memory gpio temp range package description package option aduc7020bcp62 5 4 62kb/8kb single 14 C40c to + 85c 40-lead chip scale package cp-40 ADUC7020ACP62 5 (10 bit nmc) 4 62kb/8kb single 14 C40c to + 85c 40-lead chip scale package cp-40 aduc7021bcp62 8 2 62kb/8kb single 13 C40c to + 85c 40-lead chip scale package cp-40 aduc7021acp62 8 (10 bit nmc) 2 62kb/8kb single 13 C40c to + 85c 40-lead chip scale package cp-40 aduc7022bcp62 10 62kb/8kb single 13 C40c to + 85c 40-lead chip scale package cp-40 aduc7022acp62 10 (10 bit nmc) 62kb/8kb single 13 C40c to + 85c 40-lead chip scale package cp-40 aduc7024bcp62 10 2 62kb/8kb three phase 30 C40c to + 85c 64-lead chip scale package cp-64-1 aduc7024acp62 10 (10 bit nmc) 2 62kb/8kb three phase 30 C40c to + 85c 64-lead chip scale package cp-64-1 aduc7024bst62 10 2 62kb/8kb three phase 30 C40c to + 125c 64 lead plastic quad flatpack st-64 aduc7025bcp62 12 62kb/8kb three phase 30 C40c to + 85c 64-lead chip scale package cp-64-1 aduc7025acp62 12 (10 bit nmc) 62kb/8kb three phase 30 C40c to + 85c 64-lead chip scale package cp-64-1 aduc7025bcp32 12 32kb/4kb three phase 30 C40c to + 85c 64-lead chip scale package cp-64-1 aduc7026bst62 12 4 62kb/8kb three phase yes 40 C40c to + 125c 80 lead plastic quad flatpack st-80 aduc7027bst62 16 62kb/8kb three phase yes 40 C40c to + 125c 80 lead plastic quad flatpack st-80 aduc7027ast62 16 (10 bit nmc) 62kb/8kb three phase yes 40 C40c to + 125c 80 lead plastic quad flatpack st-80 eval-aduc7020qs development system eval-aduc7024qs development system eval-aduc7026qs development system contact the factory for chip availability.
preliminary technical data aduc702x series rev. prc | page 11 of 80 pin function descriptions C aduc7020/aduc7021/aduc7022 table 3. pin function descriptions pin# aduc702x 7020 7021 7022 mnemonic type* function 38 37 36 adc0 i single-ended or differential analog input 0 39 38 37 adc1 i single-ended or differential analog input 1 40 39 38 adc2/cmp0 i single-ended or differentia l analog input 2 / comparator positive input 1 40 39 adc3/cmp1 i single-ended or differentia l analog input 3 / comparator negative input 2 1 40 adc4 i single-ended or differential analog input 4 - 2 1 adc5 i single-ended or differential analog input 5 - 3 2 adc6 i single-ended or differential analog input 6 - 4 3 adc7 i single-ended or differential analog input 7 - - 4 adc8 i single-ended or differential analog input 8 - - 5 adc9 i single-ended or differential analog input 9 3 5 6 gnd ref s ground voltage reference for the adc. for optimal performance the analog power supply should be separated from iognd and dgnd 4 6 - dac0/adc12 i/o dac0 voltage output / si ngle-ended or differential analog input 12 5 7 - dac1/adc13 i/o dac1 voltage output / si ngle-ended or differential analog input 13 6 - - dac2/adc14 i/o dac2 voltage output / si ngle-ended or differential analog input 14 7 - - dac3/adc15 i/o dac3 voltage output / si ngle-ended or differential analog input 15 8 8 7 tms i jtag test port input - test mode select. debug and download access 9 9 8 tdi i jtag test port input C test data in. debug and download access 10 10 9 bm/p0.0/cmp out /p lai[7] i/o multifunction i/o pin: boot mode. the aduc7026 will enter uart download mode if bm is low at reset and will execute code if bm is pulled high at reset through a 1kohm resistor/ general purpose input-output port 0.0 / voltage comparator output/ programmabl e logic array input element 7 11 11 10 p0.6/t1/mrst/pla o[3] i/o multifunction pin: driven low after reset general purpose output port 0.6 / t imer 1 input / power on reset output / programmable logic array output element 3 12 12 11 tck/xclk i jtag test port input - test clock. debug and download access / input to the internal clock generator circuits 13 13 12 tdo o jtag test port output - test data out. debug and download access 14 14 13 iognd s ground for gpio. typically connected to dgnd 15 15 14 iov dd s 3.3v supply for gpio and input of the on-chip voltage regulator. 16 16 15 lv dd s 2.5v. output of the on-chip voltage regulator. must be connected to a 0.47 f capacitor to dgnd 17 17 16 dgnd s ground for core logic. 18 18 17 p0.3/trst/adc busy i/o general purpose input-output port 0. 3 / jtag test port input C test reset. debug and download access / adc busy signal output 19 19 18 rst i reset input. (active low) 20 20 19 irq0/p0.4/pwmtr ip/plao[1] i/o multifunction i/o pin: external interrupt request 0, active high / general purpose input-output port 0.4 / pwm trip external in put/programmable logic array output element 1 21 21 20 irq1/p0.5/adc busy /plao[2] i/o multifunction i/o pin: external interrupt request 1, active high / general purpose input-output port 0.5 / adc busy signal / programmable lo gic array output element 2 22 22 21 p2.0/spm9/plao[ 5]/conv start i/o serial port multiplexed: general purpose input-output port 2.0 / uart / programmable logic array output element 5/ start co nversion input signal for adc 23 23 22 p0.7/eclk/spm8/ plao[4] i/o serial port multiplexed: general purpose input-output port 0.7 / output for external clock signal
aduc702x series preliminary technical data rev. prc | page 12 of 80 pin# aduc702x 7020 7021 7022 mnemonic type* function / uart / programmable logi c array output element 4 24 24 23 xclko o output from the crystal oscillator inverter 25 25 24 xclki i input to the crystal oscillator invert er and input to the internal clock generator circuits 26 26 25 p1.7/spm7/plao[ 0] i/o serial port multiplexed: general purpose input-output port 1.7 / uart / spi / programmable logic array output element 0 27 27 26 p1.6/spm6/plai[6] i/o serial port multiplexed: general purpose input-output port 1.6 / uart / spi / programmable logic array input element 6 28 28 27 irq3/p1.5/spm5/p lai[5] i/o serial port multiplexed: external interrupt request 3, active high /general purpose input-output port 1.5 / uart / spi / programma ble logic array input element 5 29 29 28 irq2/p1.4/spm4/p lai[4] i/o serial port multiplexed: external interrupt request 2, active high /general purpose input-output port 1.4 / uart / spi / programma ble logic array input element 4 30 30 29 p1.3/spm3/plai[3] i/o serial port multiplexed: general purpose input-outp ut port 1.3/ uart / i 2 c1 /programmable logic array input element 3 31 31 30 p1.2/spm2/plai[2] i/o serial port multiplexed: general purpose input-outp ut port 1.2 / uart / i 2 c1 /programmable logic array input element 2 32 32 31 p1.1/spm1/plai[1] i/o serial port multiplexed: general purpose input-outp ut port 1.1 / uart / i 2 c0 / programmable logic array input element 1 33 33 32 p1.0/t1/spm0/pla i[0] i/o serial port multiplexed: general purpose input-output port 1.0/ timer 1 input / uart / i 2 c0 / programmable logic array input element 0 34 - - p4.2/plao[10] i/o general purpose input-output port 4.2 / programmable logic array output element 10 35 34 33 v ref i/o 2.5v internal voltage reference. must be connected to a 0.47uf capacitor when using the internal reference. 36 35 34 agnd s analog ground. ground re ference point for the analog circuitry 37 36 35 av dd s 3.3v analog power * i = input, o = output, s = supply. - no pin assigned.
preliminary technical data aduc702x series rev. prc | page 13 of 80 pin function descriptions C aduc7024/aduc7025 table 4. pin function descriptions pin# mnemonic type * function 1 adc4 i single-ended or differential analog input 4 2 adc5 i single-ended or differential analog input 5 3 adc6 i single-ended or differential analog input 6 4 adc7 i single-ended or differential analog input 7 5 adc8 i single-ended or differential analog input 8 6 adc9 i single-ended or differential analog input 9 7 gnd ref s ground voltage reference for the adc. for optimal performance the analog power supply should be separated from iognd and dgnd 8 adcneg i bias point or negative analog input of the adc in pseudo differential mode. must be connected to the ground of th e signal to convert. this bias point must be between 0v and 1v 9 dac0**/adc12 i/o dac0 voltage output / sing le-ended or differential analog input 12 10 dac1**/adc13 i/o dac1 voltage output / sing le-ended or differential analog input 13 11 tms i jtag test port input - test mode select. debug and download access 12 tdi i jtag test port input C test data in. debug and download access 13 p4.6/plao[14] i/o general purpose input-output port 4. 6/ programmable logic array output element 14 14 p4.7/plao[15] i/o general purpose input-output port 4. 7/ programmable logic array output element 15 15 bm/p0.0/cmp out /plai[7] i/o multifunction i/o pin: boot mode. the aduc7024/aduc7025 will enter download mode if bm is low at reset and will execute code if bm is pulled high at reset through a 1kohm resistor/ general purpose input-outp ut port 0.0 / voltage comparator output/ programmable logi c array input element 7 16 p0.6/t1/mrst/plao[3] i/o multifunction pin: driven low after reset general purpose output port 0.6 / time r 1 input / power on reset output / programmable logic array output element 3 17 tck/xclk i jtag test port input - test clock. de bug and download access/ input to the internal clock generator circuits 18 tdo o jtag test port output - test data out. debug and download access 19 iognd s ground for gpio. typically connected to dgnd 20 iov dd s 3.3v supply for gpio and input of the on-chip voltage regulator. 21 lv dd s 2.5v. output of the on-chip voltage re gulator. must be connected to a 0.47 f capacitor to dgnd 22 dgnd s ground for core logic. 23 p3.0/pwm0 h /plai[8] i/o general purpose input-output port 3. 0/ pwm phase 0 high side output / programmable logic array input element 8 24 p3.1/pwm0 l /plai[9] i/o general purpose input-output port 3. 1/ pwm phase 0 low side output / programmable logic array input element 9 25 p3.2/pwm1 h /plai[10] i/o general purpose input-output port 3. 2/ pwm phase 1 high side output / programmable logic array input element 10 26 p3.3/pwm1 l /plai[11] i/o general purpose input-output port 3. 3/ pwm phase 1 low side output / programmable logic array input element 11 27 p0.3/trst/adc busy i/o general purpose input-output port 0.3 / jtag test port input C test reset. debug and download access / adc busy signal output 28 rst i reset input. (active low) 29 p3.4/pwm2 h /plai[12] i/o general purpose input-output port 3. 4 / pwm phase 2 high side output / programmable logic array input 12 30 p3.5/pwm2 l /plai[13] i/o general purpose input-output port 3. 5 / pwm phase 2 low side output / programmable logic array input element 13
aduc702x series preliminary technical data rev. prc | page 14 of 80 pin# mnemonic type * function 31 irq0/p0.4/pwmtrip/ms1/plao[1] i/o multifunction i/o pin: external interrupt request 0, active hi gh / general purpose input-output port 0.4 / pwm trip external input/external memory select 1/ programmable logic array output element 1 32 irq1/p0.5/adc busy /plao[2] i/o multifunction i/o pin: external interrupt request 1, active hi gh / general purpose input-output port 0.5 / adc busy signal / programmable lo gic array output element 2 33 p2.0/conv start /spm9/plao[5] i/o serial port multiplexed: general purpose input-output port 2.0 / start conversion input signal for adc / uart / programmable logi c array output element 5 34 p0.7/eclk/spm8/plao[4] i/o serial port multiplexed: general purpose input-output port 0.7 / output for external clock signal / uart / programmable logi c array output element 4 35 xclko o output from the crystal oscillator inverter 36 xclki i input to the crystal oscillator invert er and input to the internal clock generator circuits 37 p3.6/pwm trip /plai[14] i/o general purpose input-output port 3. 6/ pwm safety cut off / programmable logic array input element 14 38 p3.7/pwmsync/plai[15] i/o general purpose input-output port 3. 7/ pwm synchronisation input output /programmable logic a rray input element 15 39 p1.7/spm7/plao[0] i/o serial port multiplexed: general purpose input-output port 1. 7 / uart / spi / programmable logic array output element 0 40 p1.6/spm6/plai[6] i/o serial port multiplexed: general purpose input-output port 1. 6 / uart / spi / programmable logic array input element 6 41 iognd s ground for gpio. typically connected to dgnd 42 iov dd s 3.3v supply for gpio and input of the on-chip voltage regulator. 43 p4.0/plao[8] i/o general purpose input-output port 4. 0 / programmable logic array output element 8 44 p4.1/plao[9] i/o general purpose input-output port 4. 1 / programmable logic array output element 9 45 irq3/p1.5/spm5/plai[5] i/o serial port multiplexed: external interrupt request 3, active hi gh /general purpose input-output port 1.5 / uart / spi / programmabl e logic array input element 5 46 irq2/p1.4/spm4/plai[4] i/o serial port multiplexed: external interrupt request 2, active hi gh /general purpose input-output port 1.4 / uart / spi / programmabl e logic array input element 4 47 p1.3/spm3/plai[3] i/o serial port multiplexed: general purpose input-outp ut port 1.3/ uart / i 2 c1 /programmable logic array input element 3 48 p1.2/spm2/plai[2] i/o serial port multiplexed: general purpose input-outp ut port 1.2 / uart / i 2 c1 /programmable logic array input element 2 49 p1.1/spm1/plai[1] i/o serial port multiplexed: general purpose input-outp ut port 1.1 / uart / i 2 c0 / programmable logic array input element 1 50 p1.0/t1/spm0/plai[0] i/o serial port multiplexed: general purpose input-output port 1.0/ timer 1 input / uart / i 2 c0 / programmable logic array input element 0 51 p4.2/plao[10] i/o general purpose input-output port 4. 2 / programmable logic array output element 10 52 p4.3/plao[11] i/o general purpose input-output port 4. 3 / programmable logic array output element 11
preliminary technical data aduc702x series rev. prc | page 15 of 80 pin# mnemonic type * function 53 p4.4/plao[12] i/o general purpose input-output port 4. 4 / programmable logic array output element 12 54 p4.5/plao[13] i/o general purpose input-output port 4. 5 / programmable logic array output element 13 55 v ref i/o 2.5v internal voltage reference. must be connected to a 0.47uf capacitor when using the internal reference. 56 dac ref i external voltage reference for the dacs. range: dacgnd to dacv dd 57 dacgnd s ground for the dac. typically connected to agnd 58 agnd s analog ground. ground refe rence point for the analog circuitry 59 av dd s 3.3v analog power 60 dacv dd s 3.3v power supply for the da cs. typically connected to av dd 61 adc0 i single-ended or differential analog input 0 62 adc1 i single-ended or differential analog input 1 63 adc2/cmp0 i single-ended or differential an alog input 2/ comparator positive input 64 adc3/cmp1 i single-ended or differential analog input 3/ comparator negative input * i = input, o = output, s = supply. ** dac outputs not present on aduc7025
aduc702x series preliminary technical data rev. prc | page 16 of 80 pin function descriptions C aduc7026/aduc7027 table 5. pin function descriptions pin# mnemonic type * function 1 adc4 i single-ended or differential analog input 4 2 adc5 i single-ended or differential analog input 5 3 adc6 i single-ended or differential analog input 6 4 adc7 i single-ended or differential analog input 7 5 adc8 i single-ended or differential analog input 8 6 adc9 i single-ended or differential analog input 9 7 adc10 i single-ended or differential analog input 10 8 gnd ref s ground voltage reference for the adc. for optimal performance the analog power supply should be separated from iognd and dgnd 9 adcneg i bias point or negative analog input of the adc in pseudo differential mode. must be connected to the ground of th e signal to convert. this bias point must be between 0v and 1v 10 dac0/adc12 i/o dac0 voltage output / sing le-ended or differential analog input 12 11 dac1/adc13 i/o dac1 voltage output / sing le-ended or differential analog input 13 12 dac2/adc14 i/o dac2 voltage output / sing le-ended or differential analog input 14 13 dac3/adc15 i/o dac3 voltage output / sing le-ended or differential analog input 15 14 tms i jtag test port input - test mode select. debug and download access 15 tdi i jtag test port input C test data in. debug and download access 16 p0.1/pwm2 h / ble i/o general purpose input-output port 0. 1/ pwm phase 2 high side output / external memory byte low enable 17 p2.3/ae general purpose input-outp ut port 2.3 / address latch enable 18 p4.6/ad14/plao[14] i/o general purpose input-output po rt 4.6/ external memory interface/programmable logi c array output element 14 19 p4.7/ad15/plao[15] i/o general purpose input-output port 4. 7/ external memory interface / programmable logic array output element 15 20 bm/p0.0/cmp out /ms2/plai[7] i/o multifunction i/o pin: boot mode. the aduc7026 will enter uart download mode if bm is low at reset and will execute code if bm is pulled high at reset through a 1kohm resistor/ general purpose input-outp ut port 0.0 / voltage comparator output/ external memory select 2/ programmable logic array input element 7 21 p0.6/t1/mrst/plao[3]/ae i/o multifunction pin: driven low after reset general purpose output port 0.6 / time r 1 input / power on reset output / programmable logic array output element 3 22 tck/xclk i jtag test port input - test clock. de bug and download access/ input to the internal clock generator circuits 23 tdo o jtag test port output - test data out. debug and download access 24 p0.2 /pwm2 l / bhe i/o general purpose input-output port 0. 2/ pwm phase 2 low side output / external memory byte high enable 25 iognd s ground for gpio. typically connected to dgnd 26 iov dd s 3.3v supply for gpio and input of the on-chip voltage regulator. 27 lv dd s 2.5v. output of the on-chip voltage re gulator. must be connected to a 0.47 f capacitor to dgnd 28 dgnd s ground for core logic. 29 p3.0/ad0/pwm0 h /plai[8] i/o general purpose input-output port 3.0 / external memory interface/ pwm phase 0 high side output / progra mmable logic array input element 8 30 p3.1/ad1/pwm0 l /plai[9] i/o general purpose input-output port 3.1 / external memory interface / pwm phase 0 low side output / programma ble logic array input element 9 31 p3.2/ad2/pwm1 h /plai[10] i/o general purpose input-output port 3.2 / external memory interface / pwm phase 1 high side output / progra mmable logic array input element 10
preliminary technical data aduc702x series rev. prc | page 17 of 80 pin# mnemonic type * function 32 p3.3/ad3/pwm1 l /plai[11] i/o general purpose input-output port 3.3 / external memory interface / pwm phase 1 low side output / programma ble logic array input element 11 33 p2.4/pwm0 h /ms0 i/o general purpose input-output port 2. 4 / pwm phase 0 high side output / external memory select 0 34 p0.3/trst/a16/adc busy i/o general purpose input-output port 0.3 / jtag test port input C test reset. debug and download access / adc busy signal output 35 p2.5/ pwm0 l /ms1 i/o general purpose input-output port 2.5 / pwm phase 0 low side output /external memory select 1 36 p2.6/ pwm1 h /ms2 i/o general purpose input-output port 2. 6 / pwm phase 1 high side output / external memory select 2 37 rst i reset input. (active low) 38 p3.4/ad4/pwm2 h /plai[12] i/o general purpose input-output port 3.4 / external memory interface / pwm phase 2 high side output / pr ogrammable logic array input 12 39 p3.5/ad5/pwm2 l /plai[13] i/o general purpose input-output port 3.5 / external memory interface /pwm phase 2 low side output / programma ble logic array input element 13 40 irq0/p0.4/pwmtrip/ms1/plao[1] i/o multifunction i/o pin: external interrupt request 0, active hi gh / general purpose input-output port 0.4 / pwm trip external input/external memory select 1/ programmable logic array output element 1 41 irq1/p0.5/adc busy /ms0/plao[2] i/o multifunction i/o pin: external interrupt request 1, active hi gh / general purpose input-output port 0.5 / adc busy signal /external memory sele ct 0 / programmable logic array output element 2 42 p2.0/conv start /spm9/plao[5] i/o serial port multiplexed: general purpose input-output port 2.0 / start conversion input signal for adc / uart / programmable logi c array output element 5 43 p0.7/eclk/spm8/plao[4] i/o serial port multiplexed: general purpose input-output port 0.7 / output for external clock signal / uart / programmable logi c array output element 4 44 xclko o output from the crystal oscillator inverter 45 xclki i input to the crystal oscillator invert er and input to the internal clock generator circuits 46 p3.6/ad6/pwm trip /plai[14] i/o general purpose input-output port 3.6 / external memory interface / pwm safety cut off / programmable logic array input element 14 47 p3.7/ad7/plai[15] i/o general purpose input-output port 3. 7/ / external memory interface / programmable logic array input element 15 48 p2.7/ pwm1 l /ms3 i/o general purpose input-output port 2.7 / pwm phase 1 low side output /external memory select 3 49 p2.1/ pwm0 h /ws/plao[6] i/o general purpose input-output port 2. 1 / pwm phase 0 high side output / external memory write strobe/ prog rammable logic array output element 6 50 p2.2/ pwm0 l /rs/plao[7] i/o general purpose input-output port 2. 2 / pwm phase 0 low side output / external memory read strobe/ prog rammable logic array output element 7 51 p1.7/spm7/plao[0] i/o serial port multiplexed: general purpose input-output port 1. 7 / uart / spi / programmable logic array output element 0 52 p1.6/spm6/plai[6] i/o serial port multiplexed: general purpose input-output port 1. 6 / uart / spi / programmable logic array input element 6 53 iognd s ground for gpio. typically connected to dgnd 54 iov dd s 3.3v supply for gpio and input of the on-chip voltage regulator. 55 p4.0/ad8/plao[8] i/o general purpose input-output port 4. 0 / external memory interface / programmable logic array output element 8 56 p4.1/ad9/plao[9] i/o general purpose input-output port 4.1 / external memory interface /programmable logic array output element 9
aduc702x series preliminary technical data rev. prc | page 18 of 80 pin# mnemonic type * function 57 irq3/p1.5/spm5/plai[5] i/o serial port multiplexed: external interrupt request 3, active hi gh /general purpose input-output port 1.5 / uart / spi / programmabl e logic array input element 5 58 irq2/p1.4/spm4/plai[4] i/o serial port multiplexed: external interrupt request 2, active hi gh /general purpose input-output port 1.4 / uart / spi / programmable logic array input element 4 59 p1.3/spm3/plai[3] i/o serial port multiplexed: general purpose input-outp ut port 1.3/ uart / i 2 c1 /programmable logic array input element 3 60 p1.2/spm2/plai[2] i/o serial port multiplexed: general purpose input-outp ut port 1.2 / uart / i 2 c1 /programmable logic array input element 2 61 p1.1/spm1/plai[1] i/o serial port multiplexed: general purpose input-outp ut port 1.1 / uart / i 2 c0 / programmable logic array input element 1 62 p1.0/t1/spm0/plai[0] i/o serial port multiplexed: general purpose input-output port 1.0/ timer 1 input / uart / i 2 c0 / programmable logic array input element 0 63 p4.2/ad10/plao[10] i/o general purpose input-output port 4. 2 / external memory interface / programmable logic array output element 10 64 p4.3/ad11/plao[11] i/o general purpose input-output port 4.3 / external memory interface /programmable logic array output element 11 65 p4.4/ad12/plao[12] i/o general purpose input-output port 4.4 / external memory interface /programmable logic array output element 12 66 p4.5/ad13/plao[13] i/o general purpose input-output port 4.5 / external memory interface /programmable logic array output element 13 67 refgnd s ground for the referenc e. typically connected to agnd 68 v ref i/o 2.5v internal voltage reference. must be connected to a 0.47uf capacitor when using the internal reference. 69 dac ref i external voltage reference for the dacs. range: dacgnd to dacv dd 70 dacgnd s ground for the dac. typically connected to agnd 71 agnd s analog ground. ground refe rence point for the analog circuitry 72 agnd s analog ground. ground refe rence point for the analog circuitry 73 av dd s 3.3v analog power 74 av dd s 3.3v analog power 75 dacv dd s 3.3v power supply for the da cs. typically connected to av dd 76 adc11 i single-ended or differential analog input 11 77 adc0 i single-ended or differential analog input 0 78 adc1 i single-ended or differential analog input 1 79 adc2/cmp0 i single-ended or differential an alog input 2/ comparator positive input 80 adc3/cmp1 i single-ended or differential analog input 3/ comparator negative input * i = input, o = output, s = supply.
preliminary technical data aduc702x series rev. prc | page 19 of 80 p 1 . 7 / s p m 7 / p l a i p 1 . 6 / s p m 6 / p l a i p 1 . 5 / s p m 5 / p l a i p 1 . 4 / s p m 4 / p l a i p 1 . 3 / s p m 3 / p l a i p 1 . 2 / s p m 2 / p l a i p 1 . 1 / s p m 1 / p l a i p 1 . 0 / s p m 0 / p l a i / t 1 p 0 . 7 / e c l k / s p m 8 / p l a o p 2 . 0 / p w m t r i p / s p m 9 / p l a o / c o n v s t a r t t c k / x c l k p 0 . 3 / t r s t / a 1 6 / a d c b u s y t d o t d i t m s uart serial port spi/i 2 cserial interface serial port multiplexer irq1/p0.5/adc busy /plao irq0/p0.4/conv start /plao osc prog. clock divider xclko xclki pll prog. logic array interrupt controller p4.6/plao/ad14 p4.7/plao/ad15 p 4 . 0 / p l a o / a d 8 p 4 . 2 / p l a o / a d 1 0 p 4 . 3 / p l a o / a d 1 1 p 4 . 1 / p l a o / a d 9 p 4 . 5 / p l a o / a d 1 3 p 4 . 4 / p l a o / a d 1 2 por p 0 . 6 / m r s t / p l a o / a e / t 1 j t a g e m u l a t o r 8192 bytes user ram (2k x 32 bits) power supply monitor arm7tdmi mcu core 62 kbytes flash/ee (31k x 16 bits) downloader v ref mux dac v ref band gap reference wakeup/ rtc timer r e s e t g n d r e f a g n d i o g n d i o v d d d g n d l v d d i o g n d i o v d d adc0 temp sensor adc1 mux 12-bit sar adc 1msps adc control d a c v d d d a c r e f d a c g n d aduc7026* dac2*/adc14 buf 12-bit voltage output dac dac3*/adc15 buf 12-bit voltage output dac dac control p3.6/pwm trip /plai/ad6 p3.5/pwm2l/plai/ad5 p3.4/pwm2h/plai/ad4 p3.3/pwm1l/plai/ad3 p3.2/pwm1h/plai/ad2 p3.1/pwm0l/plai/ad1 p3.0/pwm0h/plai/ad0 three- phase pwm adc2/cmp0 adc8 adc4 adc3/cmp1 adc9 adc neg mux dac cmp out /irq bm/p0.0/cmp out /plai adc7 adc6 adc5 p3.7/eclk/plai/ad7 * see selection table for feature availability on different models. adc10 adc11 dac1*/adc13 buf 12-bit voltage output dac dac0*/adc12 buf 12-bit voltage output dac p 0 . 2 / b h e p 0 . 1 / b l e p 2 . 2 / r s p 2 . 3 / a e p 2 . 4 / m s 0 p 2 . 5 / m s 1 p 2 . 6 / m s 2 p 2 . 1 / w s p 2 . 7 / m s 3 p0.0 r e f g n d a v d d a v d d a g n d figure 2: detailed block diagram
aduc702x series preliminary technical data rev. prc | page 20 of 80 general description the aduc702x is fully integrated, 1msps, 12-bit data acquisition system incorporating a high performance multi- channel adc, a 16/32-bit mcu and flash/ee memory on a single chip. the adc consists of up to 12 single-ended inputs. an additional 4 inputs are available but are multiplexed with the 4 dac output pins. the 4 dac outputs are only available on certain models of the aduc702x, though in many cases where the dac is not present this pin can still be used as an additional adc input, giving a maximum of 16 adc input channels. the adc can operate in single-ended or differential input modes. the adc input voltage is 0 to v ref . low drift bandgap reference, temperature sensor and voltage comparator complete the adc peripheral set. the aduc702x also integrates 4 buffered voltage output dacs on-chip. the dac output range is programmable to one of three voltage ranges. the device operates from an on-chip oscillator and pll generating an internal high-frequency clock of 45 mhz. this clock is routed through a programmable clock divider from which the mcu core clock operating frequency is generated. the microcontroller core is an arm7tdmi, 16/32-bit risc machine, offering up to 45 mips peak performance. 62k bytes of non-volatile flash/ee are provided on-chip as well as 8k bytes of sram. the arm7tdmi core views all memory and registers as a single linear array. on-chip factory firmware supports in-circuit serial download via the uart and jtag serial interface ports while non- intrusive emulation is also supported via the jtag interface. these features are incorporated into a low-cost quickstart development system supporting this microconverter family. the parts operate from 2.7v to 3.6v and are specified over an industrial temperature range of -40c to 125c. when operating at 45mhz the power dissipation is 150mw. the aduc702x is available in a variety of memory models and packages. these are detailed on page 10. overview of the arm7tdmi core the arm7 core is a 32-bit reduced instruction set computer (risc). it uses a single 32-bit bus for instruction and data. the length of the data can be 8, 16 or 32 bits and the length of the instruction word is 32 bits. the arm7tdmi is an arm7 core with 4 additional features: - t support for the thumb (16 bit) instruction set. - d support for debug - m support for long multiplies - i include the embeddedice module to support embedded system debugging. thumb mode (t) an arm instruction is 32-bits long. the arm7tdmi processor supports a second instruction set that has been compressed into 16-bits, the thumb instruction set. faster execution from 16-bit memory and greater code density can usually be achieved by using the thumb instruction set instead of the arm instruction set, which makes the arm7tdmi core particularly suitable for embedded applications. however the thumb mode has two limitations: - thumb code usually uses more instructions for the same job, so arm code is usually best for maximising the performance of the time-critical code. - the thumb instruction set does not include some instructions that are needed for exception handling, so the core will automatically switch to arm code for exception handling. see arm7tdmi user guide for details on the core architecture, the programming model and both the arm and arm thumb instruction sets. long multiply (m) the arm7tdmi instruction set includes four extra instructions which perform 32-bit by 32-bit multiplication with 64-bit result and 32-bit by 32-bit multiplication-accumulation (mac) with 64-bit result. this result is achieved in a reduced number of cycles than required on a standard arm7 core. embeddedice (i) embeddedice provides integrated on-chip support for the core. the embeddedice module contains the breakpoint and watchpoint registers which allow code to be halted for debugging purposes. these registers are controlled through the jtag test port. when a breakpoint or watchpoint is encountered, the processor halts and enters debug state. once in a debug state, the processor registers may be inspected as well as the flash/ee, the sram and the memory mapped registers. exceptions arm supports five types of exceptions, and a privileged processing mode for each type. the five type of exceptions are: - normal interrupt or irq. it is provided to service general- purpose interrupt handling of internal and external events - fast interrupt or fiq. it is provided to service data transfer or communication channel with low latency. fiq has priority over irq
preliminary technical data aduc702x series rev. prc | page 21 of 80 - memory abort - attempted execution of an undefined instruction - software interrupt (swi) instruction which can be used to make a call to an operating system. typically the programmer will define interrupts as irq but for higher priority interrupt, i.e. faster response time, the programmer can define interrupt as fiq. arm registers arm7tdmi has a total of 37 registers, of which 31 are general purpose registers and six are status registers. each operating mode has dedicated banked registers. when writing user-level programs, 15 general purpose 32-bit registers (r0 to r14), the program counter (r15) and the current program status register (cpsr) are usable. the remaining registers are used only for system-level programming and for exception handling. when an exception occurs, some of the standard register are replaced with registers specific to the exception mode. all exception modes have replacement banked registers for the stack pointer (r13) and the link register (r14) as represented in figure 3. the fast interrupt mode has more registers (8 to 12) for fast interrupt processing, so that the interrupt processing can begin without the need to save or restore these registers and thus save critical time in the interrupt handling process. user mode fiq mode svc mode abort mode irq mode undefined mode r0 r1 r2 r3 r4 r5 r6 r7 r8 r9 r10 r11 r12 r13 r14 r15 (pc) r8_fiq r9_fiq r10_fiq r11_fiq r12_fiq r13_fiq r14_fiq r13_svc r14_svc r13_abt r14_abt r13_irq r14_irq r13_und r14_und usable in user mode system modes only cpsr spsr_fiq spsr_svc spsr_und spsr _abt spsr_irq figure 3: register organisation more information relative to the programmers model and the arm7tdmi core architecture can be found in the following documents from arm: - ddi0029g, arm7tdmi technical reference manual. - ddi0100e, arm architecture reference manual. interrupt latency the worst case latency for an fiq consists of the longest time the request can take to pass through the synchronizer, plus the time for the longest instruction to complete (the longest instruction is an ldm) which loads all the registers including the pc, plus the time for the data abort entry, plus the time for fiq entry. at the end of this time, the arm7tdmi will be executing the instruction at 0x1c (fiq interrupt vector address). the maximum total time is 50 processor cycles, which is just over 1.1 s in a system using a continuous 45 mhz processor clock. the maximum irq latency calculation is similar, but must allow for the fact that fiq has higher priority and could delay entry into the irq handling routine for an arbitrary length of time. this time can be reduced to 42 cycles if the ldm command is not used, some compilers have an option to compile without using this command. another option is to run the part in thumb mode where this is reduced to 22 cycles. the minimum latency for fiq or irq interrupts is five cycles in total which consists of the shortest time the request can take through the synchronizer plus the time to enter the exception mode. note that the arm7tdmi will always be run in arm (32-bit) mode when in privileged modes, i.e. when executing interrupt service routines.
aduc702x series preliminary technical data rev. prc | page 22 of 80 memory organisation the part incorporates two separate blocks of memory, 8kbyte of sram and 64kbyte of on-chip flash/ee memory. 62kbyte of on-chip flash/ee memory are available to the user, and the remaining 2kbytes are reserved for the factory configured boot page. these two blocks are mapped as shown in figure 4. note that by default, after a reset, the flash/ee memory is mirrored at address 0x00000000. it is possible to remap the sram at address 0x00000000 by clearing bit 0 of the remap mmr. this remap function is described in more details in the flash/ee memory chapter. re-mappable memory space (flash/ee or sram) reserved 00080000h flash/ee reserved 00011fffh 00010000h sram ffff0000h ffffffffh mmrs 0000ffffh 00000000h 0008ffffh figure 4: physical memory map memory access the arm7 core sees memory as a linear array of 2 32 byte location where the different blocks of memory are mapped as outlined in figure 4. the aduc702x memory organisation is configured in little endian format: the least significant byte is located in the lowest byte address and the most significant byte in the highest byte address. figure 5: little endian format flash/ee memory the total 64kbytes of flash/ee are organised as 32k x 16 bits. 31k x 16 bits are user space and 1k x 16 bits is reserved for the on chip kernel. the page size of this flash/ee memory is 512bytes. 62kbytes of flash/ee are available to the user as code and non- volatile data memory. there is no distinction between data and program as arm code shares the same space. the real width of the flash/ee memory is 16 bits, which means that in arm mode (32-bit instruction), two accesses to the flash/ee are necessary for each instruction fetch. it is therefore recommended to use thumb mode when executing from flash/ee memory for optimum access speed. the maximum access speed for the flash/ee memory is 45mhz in thumb mode and 22.5mhz in full arm mode. more details on flash/ee access time are outlined later in execution from sram and flash/ee section of this datasheet. sram 8kbytes of sram are available to the user, organized as 2k x 32 bits, i.e. 2kwords. arm code can run directly from sram at 45mhz , given that the sram array is configured as a 32-bit wide memory array. more details on sram access time are outlined later in execution from sram and flash/ee section of this datasheet. memory mapped registers the memory mapped register (mmr) space is mapped into the upper 2 pages of the memory array and accessed by indirect addressing through the arm7 banked registers. the mmr space provides an inte rface between the cpu and all on-chip peripherals. all regist ers except the core registers reside in the mmr area. all shad ed locations shown in figure 6 are unoccupied or reserved locations and should not be accessed by user software. table 6 shows a full mmr memory map. 32 bits byte0 byte1 byte2 byte3 0x00000000h 0x00000004h bit0 bit31 0 1 2 3 4 5 6 7 8 9 a b ... ... ... ... 0xffffffffh
preliminary technical data aduc702x series rev. prc | page 23 of 80 interrupt controller remap & system control i 2 c0 uart dac adc pla bandgap reference power supply monitor gpio timer 0 pll & oscillator control watchdog timer flash control interface general purpose timer wake up timer 0xffff0000 0xffff0110 0xffff0320 0xffff0310 0xffff0300 0xffff0238 0xffff0220 0xffff0600 0xfffff400 0xffff0b54 0xffff0b00 0xffff0a14 0xffff0a00 0xffff0848 0xffff0800 0xffff0730 0xffff0700 0xffff0620 0xffff0500 0xffff0538 0xffff0490 0xffff048c 0xffff0334 0xffff0448 0xffff0440 0xffff0420 0xffff0404 0xffff0340 0xffff0350 0xffff0360 0xffff0370 0xfffff46c 0xffffffff 0xfffff800 0xfffff820 pwm 0xfffffc3c 0xfffffc00 i 2 c1 0xffff0948 0xffff0900 spi figure 6: memory mapped
aduc702x series preliminary technical data rev. prc | page 24 of 80 table 6. complete mmrs list access address name byte type cycle page irq address base = 0xffff0000 0x0000 irqsta 4 r 1 65 0x0004 irqsig 4 r 1 65 0x0008 irqen 4 rw 1 65 0x000c irqclr 4 w 1 65 0x0010 swicfg 4 w 1 66 0x0100 fiqsta 4 r 1 65 0x0104 fiqsig 4 r 1 65 0x0108 fiqen 4 rw 1 65 0x010c fiqclr 4 w 1 65 system control address base = 0xffff0200 0x0220 remap 1 rw 1 37 0x0230 rststa 1 r 1 37 0x0234 rstclr 1 w 1 37 timer address base = 0xffff0300 0x0300 t0ld 2 rw 2 67 0x0304 t0val 2 r 2 67 0x0308 t0con 2 rw 2 67 0x030c t0clri 1 w 2 67 0x0320 t1ld 4 rw 2 68 0x0324 t1val 4 r 2 68 0x0328 t1con 2 rw 2 68 0x032c t1clri 1 w 2 68 0x0330 t1cap 4 rw 2 68 0x0340 t2ld 4 rw 2 69 0x0344 t2val 4 r 2 69 0x0348 t2con 2 rw 2 69 0x034c t2clri 1 w 2 69 0x0360 t3ld 2 rw 2 70 0x0364 t3val 2 r 2 70 0x0368 t3con 2 rw 2 70 0x036c t3clri 1 w 2 70 pll base address = 0xffff0400 0x0404 powkey1 2 w 2 42 0x0408 powcon 2 rw 2 42 0x040c powkey2 2 w 2 42 0x0410 pllkey1 2 w 2 41 access address name byte type cycle page 0x0414 pllcon 2 rw 2 41 0x0418 pllkey2 2 w 2 41 psm address base = 0xffff0440 0x0440 psmcon 2 rw 2 40 0x0444 cmpcon 2 rw 2 40 reference address base = 0xffff0480 0x048c refcon 1 rw 2 32 adc address base = 0xffff0500 0x0500 adccon 1 rw 2 28 0x0504 adccp 1 rw 2 29 0x0508 adccn 1 rw 2 29 0x050c adcsta 1 rw 2 28 0x0510 adcdat 4 r 2 28 0x0514 adcrst 1 rw 2 28 0x0530 adcgn 2 rw 2 31 0x0534 adcof 2 rw 2 31 dac address base = 0xffff0600 0x0600 dac0con 1 rw 2 38 0x0604 dac0dat 4 rw 2 38 0x0608 dac1con 1 rw 2 38 0x060c dac1dat 4 rw 2 38 uart base address = 0xffff0700 0x0700 comtx 1 rw 2 53 comrx 1 r 2 53 comdiv0 1 rw 2 53 0x0704 comien0 1 rw 2 54 comdiv1 1 r/w 2 53 0x0708 comiid0 1 r 2 54 0x070c comcon0 1 rw 2 53 0x0710 comcon1 1 rw 2 55 0x0714 comsta0 1 r 2 54 0x0718 comsta1 1 r 2 55 0x071c comscr 1 rw 2 53 0x0720 comien1 1 rw 2 56 0x0724 comiid1 1 r 2 56 0x0728 comadr 1 rw 2 53 0x072c comdiv2 2 rw 2 55
preliminary technical data aduc702x series rev. prc | page 25 of 80 access address name byte type cycle page i2c0 base address = 0xffff0800 0x0800 i2c0msta 1 r 2 60 0x0804 i2c0ssta 1 r 2 60 0x0808 i2c0srx 1 r 2 59 0x080c i2c0stx 1 w 2 59 0x0810 i2c0mrx 1 r 2 59 0x0814 i2c0mtx 1 w 2 59 0x0818 i2c0cnt 1 rw 2 59 0x081c i2c0adr 1 rw 2 59 0x0824 i2c0byte 1 rw 2 59 0x0828 i2c0alt 1 rw 2 59 0x082c i2c0cfg 1 rw 2 59 0x0830 i2c0divh 1 rw 2 59 0x0834 i2c0divl 1 rw 2 59 0x0838 i2c0id0 1 rw 2 59 0x083c i2c0id1 1 rw 2 59 0x0840 i2c0id2 1 rw 2 59 0x0844 i2c0id3 1 rw 2 59 i2c1 base address = 0xffff0900 0x0900 i2c1msta 1 r 2 60 0x0904 i2c1ssta 1 r 2 60 0x0908 i2c1srx 1 r 2 59 0x090c i2c1stx 1 w 2 59 0x0910 i2c1mrx 1 r 2 59 0x0914 i2c1mtx 1 w 2 59 0x0918 i2c1cnt 1 rw 2 59 0x091c i2c1adr 1 rw 2 59 0x0924 i2c1byte 1 rw 2 59 0x0928 i2c1alt 1 rw 2 59 0x092c i2c1cfg 1 rw 2 59 0x0930 i2c1divh 1 rw 2 59 0x0934 i2c1divl 1 rw 2 59 0x0938 i2c1id0 1 rw 2 59 0x093c i2c1id1 1 rw 2 59 0x0940 i2c1id2 1 rw 2 59 0x0944 i2c1id3 1 rw 2 59 spi base address = 0xffff0a00 0x0a00 spista 1 r 2 57 access address name byte type cycle page 0x0a04 spirx 1 r 2 57 0x0a08 spitx 1 w 2 57 0x0a0c spidiv 1 rw 2 57 0x0a10 spicon 2 rw 2 57 pla base address = 0xffff0b00 0x0b00 plaelm0 2 rw 2 62 0x0b04 plaelm1 2 rw 2 62 0x0b08 plaelm2 2 rw 2 62 0x0b0c plaelm3 2 rw 2 62 0x0b10 plaelm4 2 rw 2 62 0x0b14 plaelm5 2 rw 2 62 0x0b18 plaelm6 2 rw 2 62 0x0b1c plaelm7 2 rw 2 62 0x0b20 plaelm8 2 rw 2 62 0x0b24 plaelm9 2 rw 2 62 0x0b28 plaelm10 2 rw 2 62 0x0b2c plaelm11 2 rw 2 62 0x0b30 plaelm12 2 rw 2 62 0x0b34 plaelm13 2 rw 2 62 0x0b38 plaelm14 2 rw 2 62 0x0b3c plaelm15 2 rw 2 62 0x0b40 placlk 1 rw 2 63 0x0b44 plairq 4 rw 2 63 0x0b48 plaadc 4 rw 2 64 0x0b4c pladin 4 r 2 64 0x0b50 pladout 4 rw 2 64 external memory base address = 0xfffff000 0xf000 xmcfg 1 rw 2 71 0xf010 xm0con 1 rw 2 71 0xf014 xm1con 1 rw 2 71 0xf018 xm2con 1 rw 2 71 0xf01c xm3con 1 rw 2 71 0xf020 xm0par 2 rw 2 71 0xf024 xm1par 2 rw 2 71 0xf028 xm2par 2 rw 2 71 0xf02c xm3par 2 rw 2 71 gpio base address = 0xfffff400 0xf400 gp0con 4 rw 1 50 0xf404 gp1con 4 rw 1 50
aduc702x series preliminary technical data rev. prc | page 26 of 80 access address name byte type cycle page 0xf408 gp2con 4 rw 1 50 0xf40c gp3con 4 rw 1 50 0xf410 gp4con 4 rw 1 50 0xf420 gp0dat 4 rw 1 51 0xf424 gp0set 1 w 1 51 0xf428 gp0clr 1 w 1 51 0xf430 gp1dat 4 rw 1 51 0xf434 gp1set 1 w 1 51 0xf438 gp1clr 1 w 1 51 0xf440 gp2dat 4 rw 1 51 0xf444 gp2set 1 w 1 51 0xf448 gp2clr 1 w 1 51 0xf450 gp3dat 4 rw 1 51 0xf454 gp3set 1 w 1 51 0xf458 gp3clr 1 w 1 51 0xf460 gp4dat 4 rw 1 51 0xf464 gp4set 1 w 1 51 0xf468 gp4clr 1 w 1 51 flash/ee base address = 0xfffff800 0xf800 feesta 1 r 1 34 0xf804 feemod 1 rw 1 34 0xf808 feecon 1 rw 1 34 0xf80c feedat 2 rw 1 34 0xf810 feeadr 2 rw 1 34 0xf818 feesign 3 r 1 34 0xf81c feepro 4 rw 1 35 0xf820 feehide 4 rw 1 35 pwm base address= 0xfffffc00 0xfc00 pwmcon 2 rw 1 48 0xfc04 pwmsta 2 rw 1 48 0xfc08 pwmdat0 2 rw 1 48 0xfc0c pwmdat1 2 rw 1 48 0xfc10 pwmcfg 2 rw 1 48 0xfc14 pwmch0 2 rw 1 48 0xfc18 pwmch1 2 rw 1 48 0xfc1c pwmch2 2 rw 1 48 0xfc20 pwmen 2 rw 1 49 0xfc24 pwmdat2 2 rw 1 49 the access column corresponds to the access time reading or writing a mmr. it depends on the amba (advanced microcontroller bus architecture) bus used to access the peripheral. the processor has two amba busses, ahb (advanced high-performance bus) used for system modules and apb (advanced peripheral bus) used for lower performance peripheral.
preliminary technical data aduc702x series rev. prc | page 27 of 80 adc circuit information general overview the analog digital converter (adc) incorporates a fast, multi- channel, 12-bit adc. it can operate from 2.7v to 3.6v supplies and is capable of providing a throughput of up to 1msps when the clock source is 45mhz. this block provides the user with multi-channel multiplexer, differential track-and-hold, on-chip reference and adc. the adc consists of a 12-bit successive-approximation converter based around two capacitor dacs. it can operate in one of three different modes, depending on the input signal configuration : ? fully differential mode , for small and balanced signals ? single-ended mode , for any single-ended signals ? pseudo-differential mode , for any single-ended signals, taking advantage of the common mode rejection offered by the pseudo differential input. the converter accepts an analog input range of 0 to v ref when operating in single-ended mode or pseudo-differential mode. in fully differential mode, the input signal must be balanced around a common mode voltage v cm , in the range 0v to av dd and with a maximum amplitude of 2 v ref (see figure 7). figure 7: examples of balanced signals for fully differential mode a high precision, low drift, and factory calibrated 2.5 v reference is provided on-chip. an external reference can also be connected as described later. single or continuous conversion modes can be initiated in software. an external conv start pin, an output generated from the on-chip pla or a timer0 or a timer1 overflow can also be used to generate a repetitive trigger for adc conversions. a voltage output from an on-chip bandgap reference proportional to absolute temperature can also be routed through the front end adc multiplexer (effectively an additional adc channel input) facilitating an internal temperature sensor channel, measuring die temperature to an accuracy of 3 c. adc transfer function pseudo-differential and single-ended modes in pseudo-differential or single-ended mode, the input range is 0 v to v ref . the output coding is straight binary in pseudo differential and single-ended modes with 1 lsb = fs/4096 or 2.5 v/4096 = 0.61 mv or 610 v when v ref = 2.5 v. the ideal code transitions occur midway between successive integer lsb values (i.e. 1/2 lsb, 3/2 lsbs, 5/2 lsbs, . . ., fs C3/2 lsbs). the ideal input/output transfer characteristic is shown in figure 8. output code 1111 1111 1111 1111 1111 1110 1111 1111 1101 1111 1111 1100 0000 0000 0011 0000 0000 0010 0000 0000 0001 0000 0000 0000 0v 1lsb +fs - 1lsb voltage input 1lsb = fs 4096 figure 8: adc transfer function in pseudo differential mode or single-ended mode fully differential mode the amplitude of the differential signal is the difference between the signals applied to the v in+ and v inC pins (i.e., v in+ C v inC ). the maximum amplitude of the differential signal is therefore Cv ref to +v ref p-p (i.e. 2 x v ref ). this is regardless of the common mode (cm). the common mode is the average of the two signals, i.e. (v in+ + v inC )/2 and is therefore the voltage that the two inputs are centred on. this results in the span of each input being cm v ref /2. this voltage has to be set up externally and its range varies with v ref , (see driving the adc). the output coding is twos complement in fully differential mode with 1 lsb = 2v ref /4096 or 2x2.5 v/4096 = 1.22 mv when v ref = 2.5 v. the designed code transitions occur midway between successive integer lsb values (i.e., 1/2 lsb, 3/2 lsbs, 5/2 lsbs, . . ., fs C3/2 lsbs). the ideal input/output transfer characteristic is shown in figure 9. v cm 2v ref v cm 2v ref v cm 2v ref a v dd 0
aduc702x series preliminary technical data rev. prc | page 28 of 80 output code 0111 1111 1111 0111 1111 1110 0111 1111 1101 1000 0000 0010 1000 0000 0001 1000 0000 0000 -v ref + 1lsb voltage input (vin+ - vin-) 1lsb = 2x v ref 4096 +v ref -1lsb 0lsb 0000 0000 0001 0000 0000 0000 1111 1111 1111 figure 9: adc transfer function in differential mode typical operation once configured via the adc control and channel selection registers, the adc will convert the analog input and provide a 12-bit result in the adc data register. the top 4 bits are the sign bits and the 12-bit result is placed from bit 16 to 27 as shown in figure 10. again, it should be noted that in fully differential mode, the result is represented in twos complement format, and in pseudo differential and single- ended mode, the result is represented in straight binary format. 12-bit a dc result sign bits 15 16 0 27 31 figure 10: adc result format the same format is used in dacxdat, simplifying the software. adc mmrs interface the adc is controlled and configured via a number of mmrs that are listed below and described in detail in the following pages: - adccon: adc control register allows the programmer to enable the adc peripheral, to select the mode of operation of the adc, either single-ended, pseudo-differential or fully differential mode and the conversion type. this mmr is described table 7. - adccp: adc positive channel selection register - adccn: adc negative channel selection register adcsta: adc status register, indicates when an adc conversion result is ready. the adcsta register contains only one bit, adcready, bit (bit 0), representing the status of the adc. this bit is set at the end of an adc conversion generating an adc interrupt, it is cleared automatically by reading the adcdat mmr. when the adc is performing a conversion, the status of the adc can be read externally via the adcbusy pin. this pin is high during a conversion. when the conversion is finished, adcbusy goes back low. this information can be available on p0.3 (see chapter on gpio) if enabled in adccon register. adcdat: adc data result register, hold the 12-bit adc result as shown figure 10 - adcrst: adc reset register. resets all the adc registers to their default value. - adcof: offset calibration register. 10-bit register - adcgn: gain calibration register. 10-bit register table 7: adccon mmr bit designations bit description 7 enable conversion set by the user to enable conversion mode cleared by the user to disable conversion mode 6 enable adc busy set by the user to enable the adc busy pin cleared by the user to disable the adc busy pin 5 adc power control: set by the user to place the adc in normal mode, the adc must be powered up for at least 500us before it will convert correctly. cleared by the user to place the adc in power-down mode conversion mode: 00 single ended mode 01 differential mode 10 pseudo-differential mode 4-3 11 reserved 2-0 conversion type:
preliminary technical data aduc702x series rev. prc | page 29 of 80 000 enable conv start pin as a conversion input 001 enable timer 1 as a conversion input 010 enable timer 0 as a conversion input 011 single software conversion, will be set to 000 after conversion. 100 continuous software conversion 101 pla conversion other reserved table 8: ad c cp* mmr bit d esignation bit description 7-5 reserved positive channel selection bits 4-0 00000 00001 00010 00011 00100 00101 00110 00111 01000 01001 01010 01011 01100 01101 01110 01111 10000 10001 10010 10011 others adc0 adc1 adc2 adc3 adc4 adc5 adc6 adc7 adc8 adc9 adc10 adc11 dac0/adc12 dac1/adc13 dac2/adc14 dac3/adc15 temperature sensor agnd reference avdd/2 reserved table 9: ad c cn* mmr bit designation bit description 7-5 reserved negative channel selection bits 4-0 00000 00001 00010 00011 00100 00101 00110 00111 01000 01001 01010 01011 01100 01101 01110 01111 10000 others adc0 adc1 adc2 adc3 adc4 adc5 adc6 adc7 adc8 adc9 adc10 adc11 dac0/adc12 dac1/adc13 dac2/adc14 dac3/adc15 reference reserved * adc and dac channel availability depends on part model. see page 10 for details.
aduc702x series preliminary technical data rev. prc | page 30 of 80 converter operation the adc incorporates a successive approximation (sar) architecture involving a charge-sampled input stage. this architecture is described below for the three different modes of operation. differential mode the aduc702x contains a successive approximation adc based on two capacitive dacs. figure 11 and figure 12 show simplified schematics of the adc in acquisition and conversion phase, respectively. the adc is comprised of control logic, a sar, and two capacitive dacs. in figure 11 (the acquisition phase), sw3 is closed and sw1 and sw2 are in position a, the comparator is held in a balanced condition, and the sampling capacitor arrays acquire the differential signal on the input. c s c s a b a b channel+ channel- capacitive dac capacitive dac mux control logic comparator ain0 ain11 . . . sw3 sw2 sw1 v ref figure 11: adc acquisition phase when the adc starts a conversion (figure 12), sw3 will open and sw1 and sw2 will move to position b, causing the comparator to become unbalanced. both inputs are disconnected once the conversion begins. the control logic and the charge redistribution dacs are used to add and subtract fixed amounts of charge from the sampling capacitor arrays to bring the comparator back into a balanced condition. when the comparator is rebalanced, the conversion is complete. the control logic generates the adcs output code. the output impedances of the sources driving the v in+ and v inC pins must be matched; otherwise, the two inputs will have different settling times, resulting in errors. c s c s a b a b v ref channel+ channel- capacitive dac capacitive dac mux control logic comparator ain0 ain11 . . . sw3 sw2 sw1 figure 12: adc conversion phase pseudo-differential mode in pseudo-differential mode, channel- is linked to the vin- pin of the aduc702x and sw2 switches between a (channel-) and b (vref). vin- pin must be connected to ground or a low voltage. the input signal on v in + can then vary from v in - to v ref + v in -. note v in - must be chosen so that v ref + v in - does not exceed av dd . c s c s a b a b channel+ channel- capacitive dac capacitive dac mux control logic comparator ain0 ain11 . . . sw3 sw2 sw1 v ref vin- figure 13: adc in pseudo-differential mode single-ended mode in single-ended mode, sw2 is always connected internally to ground. the vin- pin can be floating. the input signal range on v in + is 0v to v ref . c s c s a b channel+ channel- capacitive dac capacitive dac mux control logic comparator ain0 ain11 . . . sw3 sw1 vin- figure 14: adc in single-ended mode analog input structure figure 15 shows the equivalent circuit of the analog input structure of the adc. the four diodes provides esd protection for the analog inputs. care must be taken to ensure that the analog input signals never exceed the supply rails by more than 300 mv. this would cause these diodes to become forward biased and start conducting into the substrate. these diodes can conduct up to 10 ma without ca using irreversible damage to the part. the capacitors c1 in figure 15 are typically 4 pf and can primarily be attributed to pin capacitance. the resistors are lumped components made up of the on resistance of the switches. the value of these resistors is typically about 100 ? . the capacitors, c2, are the ad cs sampling capacitors and have a capacitance of 16 pf typically. for ac applications, removing high-frequency components from the analog input signal is recommended by the use of an rc low-pass filter on the rele vant analog input pins. in applications where harmonic di stortion and signal-to-noise
preliminary technical data aduc702x series rev. prc | page 31 of 80 ratio are critical, the analog input should be driven from a low impedance source. large source impedances will significantly affect the ac performance of the adc. this may necessitate the use of an input buffer amplifier. the choice of the op amp will be a function of the particular application. d c1 d av dd r1 c2 d c1 d av dd r1 c2 figure 15: equivalent analog input circuit conversion phase: switches open track phase: switches closed when no amplifier is used to drive the analog input, the source impedance should be limited to values lower than 1 k ? . the maximum source impedance will depend on the amount of total harmonic distortion (thd) that can be tolerated. the thd will increase as the source impedance increases and the performance will degrade. driving the analog inputs internal or external reference can be used for the adc. in differential mode of operation, there are restrictions on common mode input signal (v cm ) that are dependant on reference value and supply voltage used to ensure that the signal remains within the supply rails. table 10 gives some calculated v cm min v cm max for some conditions. table 10: v cm ranges avdd vref v cm min v cm max signal peak-peak 2.5v 1.25v 2.05v 2.5v 2.048v 1.024v 2.276v 2.048v 3.3v 1.25 0.75v 2.55v 1.25 2.5v 1.25v 1.75v 2.5v 2.048v 1.024v 1.976v 2.048v 3.0v 1.25 0.75v 2.25v 1.25 adc calibration system calibration or device calibration are performed in software. two 10-bit registers are available for calibration, adcof and adcgn. for offset error correction, either an external pin must be tied to agnd (system calibration) or the internal agnd channel must be selected (device calibration). a software loop must be implemented to tweak the value in adcof register each time until the transition of adcdat reads code 0 to 1. offset error correction is done digitally and has a resolution of 0.25 lsb and a range of +/- 3.125% of vref. for gain error correction, either an external pin must be tied to vref (system calibration) or the internal reference channel must be selected (device calibration). a software loop must be implemented to tweak the value in adcgn register each time until the transition of adcdat reads code 4094 to 4095. similar to the offset calibration, the gain calibration resolution is 0.25 lsb with a range of +/- 3% of vref. temperature sensor the aduc702x provides a voltage output from an on-chip bandgap reference proportional to absolute temperature. it can also be routed through the front end adc multiplexer (effectively an additional adc channel input) facilitating an internal temperature sensor channel, measuring die temperature to an accuracy of 3 c. bandgap reference the aduc702x provides an on-chip bandgap reference of 2.5v, which can be used for the adc and for the dac. this internal reference also appears on the v ref pin. when using the internal reference, a capacitor of 0.47 f must be connected from the external v ref pin to agnd, to ensure stability and fast response during adc conversions. this reference can also be connected to an external pin (vref) and used as a reference for other circuits in the system. an external buffer would be required because of the low drive capability of the vref output. a programmable option also allows an external reference input on the v ref pin. the bandgap reference interface consists on a 8-bit mmr, refcon described in table 11 .
aduc702x series preliminary technical data rev. prc | page 32 of 80 table 11: refcon mmr bit designations bit description 7-2 reserved 1 internal reference powerdown enable set by user to place the internal reference in power-down mode and use an external reference cleared by user to place the internal reference in normal mode and use it for adc conversions 0 internal reference output enable set by user to connect the internal 2.5v reference to the vref pin. the reference can be used for external component but will need to be buffered. cleared by user to disconnect the reference from the vref pin.
preliminary technical data aduc702x series rev. prc | page 33 of 80 nonvolatile flash/ee memory flash/ee memory overview the aduc702x incorporates flash/ee memory technology on- chip to provide the user with non-volatile, in-circuit reprogrammable memory space. like eeprom, flash memory can be programmed in-system at a byte level, although it must first be erased; the erase being performed in page blocks. thus, flash memory is often and more correctly referred to as flash/ee memory. overall, flash/ee memory represen ts a step closer to the ideal memory device that includes non-volatility, in-circuit programmability, high density, and low cost. incorporated in the aduc702x, flash/ee memory tech nology allows the user to update program code space in-circuit, without the need to replace one time programmable (otp) devices at remote operating nodes. flash/ee memory and the aduc702x the aduc702x contains a 64 kbyte array of flash/ee memory. the lower 62 kbytes is available to the user and the upper 2 kbytes of this flash/ee program memory array contain permanently embedded firmware, allowing in circuit serial download. these 2 kbytes of embedded firmware also contain a power-on configuration routine that downloads factory calibrated coefficients to the various calibrated peripherals (adc, temperature sensor, bandgap references and so on). this 2 kbyte embedded firmware is hidden from user code. the 62kbytes of flash/ee memo ry can be programmed in- circuit, using the serial download mode or the jtag mode provided or via parallel programming. (1) serial downloading (in-circuit programming) the aduc702x facilitates code download via the standard uart serial port or via the i2c port. the aduc702x will enter serial download mode after a reset or power cycle if the bm pin is pulled low through an external 1kohm resistor. once in serial download mode, the user can download code to the full 62kbytes of flash/ee memory while the device is in circuit in its target application hardware. a pc serial download executable is provided as part of the development system for serial downloading via the uart. an application note is available at www.analog.com/microconverter describing the protocol for serial downloading via the uart and i2c. (2) parallel programming the parallel programming protocol allows the on-chip flash/ee memory be programmed by industry standard third party programmers. (3) jtag access the jtag protocol uses the on-chip jtag interface to facilitate code download and debug. flash/ee memory security the 62kbyte of flash/ee memory available to the user can be read and write protected. bit 31 of the feepro/feehide mmr protects the 62kbytes from being read through jtag and also in parallel programming mode. the other 31 bits of this register protect writing to the flash memory, each bit protects 4 pages, i.e. 2kbytes. write protection is activated for all type of access. there are two levels of protection: - protection can be set and removed by writing directly into feehide mmr. - feepro can be protected by a key to avoid direct access to feepro. the key is saved once and must be entered again to modify feepro. a mass erase will set the key back to 0xffff but will also erase all the user code. sequence to write the key: 1. enter an address in feeadr. 2. do a single read command, wait for the read to be successful by monitoring feesta. 3. run a verify command. 4. write the bit in feepro corresponding to the page to be protected. 5. enable key protection by setting bits 7 to 4 of feemod. 6. write a 32 bit key in feeadr, feedat 7. run the write key command 0x0c in feecon, wait for the read to be successful by monitoring feesta. to remove or modify the protection the same sequence can be used with a modified value of feepro. the sequence above is illustrated in the following example, this protects writing pages 4 to 7 of the flash: feeadr = 0x800; //any address, feecon=0x01; //read command while (!(feesta & 0x01)){} //wait for read feecon=0x04; //verify command feepro=0xfffffffd; //protect pages 4 to 7 feemod=(feemod & 0xf0); //write key enable feeadr=0xaa55; //16 bit key value feedat=0xaa55; //16 bit key value feecon= 0x0c; // write key command while (!(feesta & 0x01)){} //wait for command
aduc702x series preliminary technical data rev. prc | page 34 of 80 flash/ee control interface serial, parallel and jtag programming use the flash/ee control interface, which includes seven mmrs: - feesta: read only register, reflects the status of the flash control interface - feemod: sets the operating mode of the flash control interface - feecon: 8-bit command register. the commands are described table 14 - feedat: 16-bit data register. - feeadr: 16-bit address register. - feesign: 24-bit code signature - feepro: protection following subsequent reset mmr. requires software key. see description table 15 - feehide: immediate protection mmr. does not require any software keys. see description table 15 table 12: feesta mmr bit d esignations bit description 15-6 reserved 5 burst command enable set when the command is a burst command: 0x07, 0x08 or 0x09 cleared when other command 4 reserved 3 flash interrupt status bit set automatically when an interrupt occurs, i.e. when a comman d is complete and the flash/ee interrupt enable bit in the feemod register is set cleared when reading feesta register 2 flash/ee controller busy set automatically when the controller is busy cleared automatically when the controller is not busy 1 command fail set automatically when a command completes unsuccessfully cleared automatically when reading feesta register 0 command complete set by microconverter when a command is complete cleared automatically when reading feesta register table 13: feemod mmr bit designations bit description 7-5 reserved 4 flash/ee interrupt enable: set by user to enable the flash/ee interrupt. the interrupt will occur when a command is complete. cleared by user to disable the flash/ee interrupt 3-0 reserved table 14: command codes in feecon code command description 0x00 * null idle state 0x01 * single read load feedat with the 16-bit data indexed by feeadr 0x02 * single write write feedat at the address pointed by feeadr. this operation takes 20 s. 0x03 * erase-write erase the page indexed by feeadr and write f eedat at the location pointed by feeadr. this operation takes 20ms 0x04 * single verify compare the contents of the location pointe d by feeadr to the data in feedat. the result of the comparison is returned in feesta bit 1 0x05 * single erase erase the page indexed by feeadr
preliminary technical data aduc702x series rev. prc | page 35 of 80 0x06 * mass erase erase 62kbyte of user space. the 2kbyte of kern el are protected. this operation takes 2.48s to prevent accidental execution a command sequence is required to execute this instruction, this is described below. 0x07 burst read default command. no write is allowed. this operation takes 2 cycles 0x08 burst read- write write can handle a maximum of 8 data of 16 bits and takes a maximum of 8 x 20 s 0x09 erase burst read-write will automatically erase the page indexed by the write, allow to write pages without running an erase command. this command takes 20 ms to erase the page + 20 s per data to write 0x0a burst termination stops the running burst to allow execution from flash/ee immediately 0x0b signature give a signature of the 64kbytes of flash/ee in the 24-bit feesign mmr. this operation takes 32778 clock cycles. 0x0c protect this command can be run only once. the value of feepro is saved and can be removed only with a mass erase (0x06) or with the key 0x0d reserved reserved 0x0e reserved reserved 0x0f ping no operation, interrupt generated * the feecon will always read 0x07 immediately after execution of any of these commands. command sequence for executing a mass erase feeadr = 0x800; //any address feecon=0x01; //read command while (!(feesta & 0x01)){} //wait for read feecon=0x04; //verify command feedat=0x06; //mass erase enable feecon=0x06; //mass erase command table 15: feepro and feehide mmr bit designations bit description 31 read protection cleared by user to protect all code set by user to allow reading the code 30-0 write protection for pages 123 to 120, for pages 119 to 116 and for pages 0 to 3 cleared by user to protect the pages in writing set by user to allow writing the pages execution time from sram and flash/ee this chapter describes sram and flash/ee access times during execution for applications where execution time is critical. execution from sram fetching instructions from sram takes one clock cycle as the access time of the sram is 2ns and a clock cycle is 22ns minimum. however, if the instruction involve reading or writing data to memory, one extra cycle must be added if the data is in sram, or three cycle if the data is in flash/ee, one cycle to execute the instruction and two cycles to get the 32-bit data from flash/ee. a control flow instruction, for example a branch instruction will take one cycle to fetch but also two cycle to fill the pipeline with the new instructions. execution from flash/ee because the flash/ee width is 16-bit and access time for 16-bit words is 22ns, execution from flash/ee cannot be done in one cycle as from sram when cd bit =0. also some dead times are needed before accessing data for any value of cd bits. in arm mode, where instructions are 32 bits, two cycles are needed to fetch any instruction when cd = 0 and in thumb mode, where instructions are 16 bits, one cycle is needed to fetch any instruction. timing is identical in both mode when executing instructions that involve using the flash/ee for data memory. if the instruction to be executed is a control flow instruction, an extra cycle is needed to decode the new address of the program counter and then four cycles are needed to fill the pipe-line. a data processing instruction involving only core register doesnt require any extra clock cycle but if it involves data in flash/ee, an extra clock cycle is needed to decode the address of the data and two cycles to get the 32-bit data from flash/ee. an extra
aduc702x series preliminary technical data rev. prc | page 36 of 80 cycle must also be added before fetching another instruction. data transfer instruction are more complex and are summarised table 16. table 16: execution cycles in arm/thumb mode instructions fetch cycles dead time data access dead time ld 2/1 1 2 1 ldh 2/1 1 1 1 ldm/push 2/1 n 2 x n n str 2/1 1 2 x 20 s 1 strh 2/1 1 20 s 1 strm/pop 2/1 n 2 x n x 20 s n with 1 preliminary technical data aduc702x series rev. prc | page 37 of 80 reset and remap the arm exception vectors are all situated at the bottom of the memory array, from address 0x00000000 to address 0x00000020 as shown figure 16. 00000000h mirror space 0008ffffh 00080000h flash/ee 00011fffh 00010000h sram ffffffffh 0x00000000 0x00000020 kernel interrupt service routines interrupt service routines arm exception vector addresses figure 16: remap for exception execution by default and after any reset, the flash/ee is mirrored at the bottom of the memory array. the remap function allows the programmer to mirror the sram at the bottom of the memory array, facilitating execution of exception routines from sram instead of from flash/ee. this means exceptions are executed twice as fast, exception being executed in arm mode (32 bit) and the sram being 32-bit wide instead of 16-bit wide flash/ee memory. remap operation when a reset occurs on the aduc702x, execution starts automatically in factory programmed internal configuration code. this so called kernel is hidden and cannot be accessed by user code. if the aduc702x is in normal mode (bm pin is high), it will execute the power-on configuration routine of the kernel and then jump to the reset vector address, 0x00000000, to execute the users reset exception routine. because the flash/ee is mirrored at the bottom of the memory array at reset, the reset interrupt routine must always be written in flash/ee. the remap is done from flash/ee by setting bit0 of the remap register. precaution must be taken to execute this command from flash/ee, above address 0x00080020, and not from the bottom of the array as this will be replaced by the sram. this operation is reversible: the flash/ee can be remapped at address 0x00000000 by clearing bit0 of the remap mmr. precaution must again be taken to execute the remap function from outside the mirrored area. any kind of reset will remap the flash /ee memory at the bottom of the array. reset there are four kinds of reset: external reset, power-on-reset, watchdog expiation and software force. the rststa register indicates the source of the last reset and rstclr allows to clear the rststa register. these registers can be used during a reset exception service routine to identify the source of the reset. if rststa is null, the reset was external. table 17: remap mmr bit designations bit name description 0 remap remap bit. set by the user to remap the sram to address 0x00000000. cleared automatically after reset to remap the flash/ee memory to address 0x00000000. table 18: rst sta mmr bit d esignations bit description 7-3 reserved 2 software reset set by user to force a software reset. cleared by setting the corresponding bit in rstclr 1 watchdog timeout set automatically when a watchdog timeout occurs cleared by setting the corresponding bit in rstclr 0 power-on-reset set automatically when a power-on-reset occurs cleared by setting the corresponding bit in rstclr
aduc702x series preliminary technical data rev. prc | page 38 of 80 other analog peripherals dac the aduc702x incorporate dual 12-bit voltage output dacs on-chip. each dac has a rail-to-rail voltage output buffer capable of driving 5k ? /100pf. each buffer can be bypassed. each dac has three selectable ranges, 0v to v ref (internal bandgap 2.5v reference), 0v to dac ref (pin 56) and 0v to av dd . dac ref is equivalent to an external reference for the dac. the signal range is 0v to av dd . dac mmrs interface each dac is configurable independently through a control register and a data register. these two registers are identical for the four dacs and only dac0con and dac0dat will be described in detail. table 19: dac0con mmr bit designations bit name description 6 dacbyp buffer bypass bit: set by the user to bypass the output buffer. cleared by user to buffer the dac output. by default the dac is buffered. 5 dacclk dac update rate: set by the user to update the dac using timer1. cleared by user to update the da c using the core clock. 4 dacclr dac clear bit: set by the user to enable normal dac operation. cleared by user to reset data register of the dac to zero. 3 reserved this bit should be left at 0 2 reserved this bit should be left at 0 dac range bits 00 power down mode. the dac output is in tri-state 01 0-dac ref range 10 0-v ref (2.5v) range 1-0 11 0-av dd range table 20: dac0dat mmr bit designations bit description 31-28 reserved 27-16 12-bit data for dac0 15-0 reserved
preliminary technical data aduc702x series rev. prc | page 39 of 80 using the dacs the on-chip dac architecture cons ists of a resistor string dac followed by an output buffer amplifier, the functional equivalent of which is illustrated in figure 17. output buffer bypassed from mcu dac0 r r r r r av dd v ref dac ref figure 17: dac structure as illustrated in figure 17, the reference source for each dac is user selectable in software. it can be either avdd, vref or dacref. in 0-to-avdd mode, the dac output transfer function spans from 0 v to the voltage at the avdd pin. in 0- to-dacref mode, the dac output transfer function spans from 0 v to the voltage at the dacref pin. in 0-to-vref mode, the dac output transfer function spans from 0 v to the internal 2.5v reference, vref. the dac output buffer amplifier features a true rail-to-rail output stage implementation. this means that, unloaded, each output is capable of swinging to within less than 5 mv of both avdd and ground. moreover, the dacs linearity specification (when driving a 5k resistive load to ground) is guaranteed through the full transfer function except codes 0 to 100, and, in 0-to-avdd mode only, codes 3995 to 4095. linearity degradation near ground and vdd is caused by saturation of the output amplifier, and a general representation of its effects (neglecting offset and gain error) is illustrated in figure 18. the dotted line in figure 18 indicates the ideal transfer function, and the solid line represents what the transfer function might look like with endpoint nonlinearities due to saturation of the output amplifier. note that figure 18 represents a transfer function in 0-to-av dd mode only. in 0-to-v ref or 0-to-dac ref modes (with v ref < av dd or dac ref < av dd ) the lower nonlinearity would be similar, but the upper portion of the transfer function would follow the ideal line right to the end (v ref in this case, not av dd ), showing no signs of endpoint linearity errors. av dd 100mv 000h fffh a v dd -100mv ~ ~ ~ ~ ~ ~ figure 18: endpoint nonlinearities due to amplifier saturation the endpoint nonlinearities conceptually illustrated in figure 18 get worse as a function of output loading. most of the aduc702xs datasheet specifications assume a 5 k ? resistive load to ground at the dac output. as the output is forced to source or sink more current, the nonlinear regions at the top or bottom (respectively) of figure 18 become larger. with larger current demands, this can significantly limit output voltage swing. to reduce the effects of the saturation of the output amplifier at values close to ground and to give reduced offset and gain errors, the internal buffer can be bypassed in the dac control register. this allows a full rail-to-rail output from the dac which should then be buffered externally using a dual supply op-amp in order to get a rail-to-rail output. this external buffer should be located as near as physically possible to the dac output pin on the pcb.
aduc702x series preliminary technical data rev. prc | page 40 of 80 power supply monitor the power supply monitor monitors the iov dd supply on the aduc702x. it indicate when iov dd supply pin drops below one of two supply trip points. the monitor function is controlled via the psmcon register. if enabled in the irqen or fiqen register, the monitor will interrupt the core using the psmi bit in the psmcon mmr. this bit will be cleared immediately once cmp goes high. this monitor function allows the user to save working registers to avoid possible data loss due to the low supply or brown-out conditions, and also ensures that normal code execution will not resume until a safe supply level has been established. table 21: psmcon mmr bit descriptions bit name description 3 cmp comparator bit this is a read-only bit and directly reflects the state of the comparator read 1 indicates the iov dd supply is above its selected trip point. read 0 indicates the iov dd supply is below its selected trip point. trip point selection bits 0 - 2.79v 2 tp 1 - 3.07v 1 psmen power supply monitor enable bit set to ?1? by the user to enable the power supply monitor circuit clear to ?0? by the user to disable the power supply monitor circuit 0 psmi power supply monitor interrupt bit. this bit will be set high by the microconverter if cmp is low, indicating low i/o supply. the psmi bit can be used to interrupt the processor. once cmp returns high, the psmi bit may be cleared by writing a ?1? to this location. a write of ?0? has no effect . there is no timeout delay, psmi may be cleared immediately once cmp goes high. comparator the aduc702x also integrates an uncommitted voltage comparator. the positive input is multiplexed with adc2 and the negative input has two options: adc3 or dac0. the output of the comparator can be configured to generate a system interrupt, can be routed directly to the programmable logic array, can start an adc conversion or be on an external pin, cmp out . error! objects cannot be created from editing field codes. figure 19: comparator the comparator interface consists on a 16-bit mmr, cmpcon described below. table 22: cmpcon mmr bit descriptions bit name description 15-11 reserved 10 cmpen comparator enable bit: set by user to enable the comparator cleared by user to disable the comparator comparator negative input select bits: 00 reserved 01 dac0 input 10 adc3 input 9-8 cmpin 11 reserved comparator output configuration bits: 00 start adc conversion 7-6 cmpoc 01 reserved
preliminary technical data aduc702x series rev. prc | page 41 of 80 10 output on cmp out 11 irq 5 cmpol comparator output logic state bit when low the comparator output is high when the positive input (cmp0) is above the negative input (cmp1). when high, the comparator output is high when the positive input is below the negative input response time 00 10 s 01 5 s 10 1 s 4-3 cmpres 11 0.5 s 2 cmphyst comparator hysteresis bit: set by user to have an hysteresis of about 7.5mv cleared by user to have no hysteresis 1 cmpori comparator output rising edge interrupt set automatically when a rising edge oc curs on the monitored voltage (cmp0) cleared by user by writing a 1 to this bit. 0 cmpofi comparator output falling edge interrupt set automatically when a falling edge oc curs on the monitored voltage (cmp0) cleared by user oscillator and pll - power control the aduc702x integrates a 32.768khz oscillator, a clock divider and a pll. the pll locks onto a multiple (1376) of the internal oscillator to provide a stable 45mhz clock for the system. the core can operate at this frequency, or at binary submultiples of it, to allow power saving. the default core clock is the pll clock divided by 8 (cd = 3) or 5.6 mhz. the core clock frequency can be output on the eclk pin as described figure 20. a power down mode is available on the aduc702x. the operating mode, clocking mode and programmable clock divider are controlled via two mmrs, pllcon and powcon. pllcon controls operating mode of the clock system while powcon controls the core clock frequency and the power- down mode. pll xclko xclki p0.7/eclk /2 cd xclk wakeup timer watchdog timer int. 32khz * oscillator crystal oscillator analog peripherals core sclks mdclk mdclk at power up cd 45mhz 32.768khz * 32.768khz +/-3% figure 20: clocking system a certain sequence has to be followed to write in the pllcon and powcon registers, to prevent accidental programming. pllcon: powcon: pllkey1 = 0xaa pllcon = 0x01 pllkey2 = 0x55 powkey1 = 0x01 powcon = user value powkey2 = 0xf4 table 23: pllcon mmr bit designations bit name description 7-3 reserved
aduc702x series preliminary technical data rev. prc | page 42 of 80 2 sclks slow clock selection for watchdog timer: set by the user to use the internal 32khz for the timer. this bit must be set to use watchdog timer if there is no external crystal cleared by user to use the external 32khz crystal clocking modes 00 reserved 01 pll + 32khz oscillator C default configuration 10 reserved 1-0 mdclk 11 xclk pin table 24: powcon mmr bit designations bit name description 7 reserved operating modes: 000 normal mode 011 power down mode enable. xirq0, xirq1, timer2 and timer3 can wake-up the aduc702x. 6-4 pc others reserved 3 fint fast interrupt response bit set by user to enable the fast interrupt response. if an interrupt occurs when fint is set, the cpu will run at the fastest clock frequency in the interrupt service routine. after completing the isr, execution resumes at the clock speed set by the cd bits cleared by user to disable the fast interrupt response cpu clock divider bits 000 45.088 mhz 001 22.544 mhz 010 11.272 mhz 011 5.636 mhz 100 2.818 mhz 101 1.409 mhz 110 704.5 khz 2-0 cd 111 352.2 khz note:: when switching clock source in pllcon or placing the part in a power down mode in powcon the flash/ee requires that a dummy instruction that does not exercise the flash is execute d immediately after the write to powkey2/pllkey2. for example: to place the part in power down using ?c? code. volatile unsigned long it1,it2; //volatile so it is not optimized out it1 = 0x1234; it2 = 0x4567; powkey1 = 0x01; powcon = 0x30; //enter powerdown powkey2 = 0xf4; it1 = it1 * it2; //dummy instruction
preliminary technical data aduc702x series rev. prc | page 43 of 80 digital peripherals three-phase pwm general overview the aduc702x provides a flexible, programmable, three-phase pwm waveform generator that can be programmed to generate the required switching patterns to drive a three-phase voltage source inverter for ac induction (acim) motor control. the pwm generator produces three pairs of pwm signal on the six pwm output pins (pwm0h, pwm0l, pwm1h, pwm1l, pwm2h, and pwm2l). the six pwm output signals consist of three high-side drive signals and three low-side drive signals. the switching frequency and dead time of the generated pwm patterns are programmable using the pwmdat0 and pwmdat1 mmrs. in addition, three duty-cycle control registers (pwmch0, pwmch1 and pwmch2) directly control the duty cycles of the three-pairs of pwm signals. each of the six pwm output signals can be enabled or disabled by separate output enable bits of the pwmen register. in addition, three control bits of the pwmen register permit crossover of the two signals of a pwm pair. in crossover mode, the pwm signal destined for the high side switch is diverted to the complementary low side output and the signal destined for the low side switch is diverted to the corresponding high side output signal. in many applications, there is a need to provide an isolation barrier in the gate-drive circuits that turns on the power devices of the inverter. in general, there are two common isolation techniques, optical isolation using opto-couplers and transformer isolation using pulse transformers. the pwm controller permits mixing of the output pwm signals with a high frequency chopping signal to permit easy interface to such pulse transformers. the features of this gate-drive chopping mode can be controlled by the pwmcfg register. an 8-bit value within the pwmcfg register directly controls the chopping frequency. high frequency chopping can be independently enabled for the high-side and the low-side outputs using separate control bits in the pwmcfg register. the pwm generator is capable of operating in two distinct modes, single update mode or double update mode. in single update mode the duty cycle values are programmable only once per pwm period, so that the resultant pwm patterns are symmetrical about the midpoint of the pwm period. in the double update mode, a second updating of the pwm duty cycle values is implemented at the midpoint of the pwm period. in this mode, it is possible to produce asymmetrical pwm patterns, that produce lower harmonic distortion in three-phase pwm inverters. this technique also permits closed loop controllers to change the average voltage applied to the machine windings at a faster rate and so permits faster closed loop bandwidths to be achieved. the operating mode of the pwm block is selected by a control bit in the pwmcon register. in single update mode a pwmsync pulse is produced at the start of each pwm period. in double update mode, an additional pwmsync pulse is produced at the midpoint of each pwm period. the pwm block can also provide an internal synchronisation pulse on the sync pin that is synchronise to the pwm switching frequency. in single update mode a pulse is produce at the start of each pwm period. in double update mode, an additional pulse is also produced at the mid-point of each pwm period. the width of the pulse is programmable through the pwmdat2 register. the pwm block can also accept an external synchronisation pulse on the sync pin. the selection of external synchronisation or internal synchronisation is in the pwmcon register. the sync input timing can be synchronised to the internal peripheral clock, which is selected in the pwmcon register. if the external synchronisation pulse from the chip pin is asynchronous to the internal peripheral clock (typical case), the external sync is considered asynchronous and should be synchronised. the synchronisation logic will add latency add jitter from the external pulse to the actual pwm outputs. the size of the pulse on the sync pin must be greater than two core clock periods. the pwm signals produced by the aduc702x can be shut off via a dedicated asynchronous pwm shutdown pin, pwmtrip , that, when brought low, instantaneously places all six pwm outputs in the off state (high). this hardware shutdown mechanism is asynchronous so that the associated pwm disable circuitry does not go through any clocked logic, thereby ensuring correct pwm shutdown even in the event of a loss of the core clock. status information about the pwm system is available to the user in the pwmsta register. in particular, the state of the pwmtrip pin is available, as well as a status bit that indicates whether operation is in the first half or the second half of the pwm period. description of the pwm block a functional block diagram of the pwm controller is shown in figure 21. the generation of the six output pwm signals on pins pwm0h to pwm2l is controlled by four important blocks: ? the three-phase pwm timing unit, which is the core of the pwm controller. it generates three pairs of complemented and dead-time-adjusted centre-based pwm signals. ? the output control unit allows the redirection of the outputs of the three-phase timing unit for each channel to either the
aduc702x series preliminary technical data rev. prc | page 44 of 80 high-side or the low-side output. in addition, the output control unit allows individual enabling/disabling of each of the six pwm output signals. ? the gate drive unit permits the generation of the high frequency chopping frequency and its subsequent mixing with the pwm signals. ? the pwm shutdown controller takes care of the pwm shutdown via the pwmtrip pin and generates the correct reset signal for the timing unit. the pwm sync pulse control unit generates the internal synchronisation pulse and also controls whether the external sync pin is used or not. the pwm controller is driven by the aduc702x core clock frequency and is capable of generating two interrupts to the arm core. one interrupt is generated on the occurrence of a pwmsync pulse and the other is generated on the occurrence of any pwm shutdown action. pwmcon pwmdat0 pwmdat1 pwmdat2 configuration registers pwmch0 pwmch1 pwmch2 duty cycle registers sync core clock pwmen pwmcfg to interrupt controller pwm0h pwm1h pwm0l pwm1l pwm2h pwm2l output control unit gate drive unit pwmtrip three-phase pwm timing unit pwmsync figure 21: overview of the pwm controller three-phase timing unit pwm switching frequency, pwmdat0 mmr the pwm switching frequency is controlled by the pwm period register, pwmdat0. the fundamental timing unit of the pwm controller is t core = 1/f core where f core is the core frequency of the microconverter. therefore, for a 45 mhz f core , the fundamental time increment is 21 ns. the value written to the pwmdat0 register is effectively the number of t core clock increments in half a pwm period. the required pwmdat0 value is a function of the desired pwm switching frequency (f pwm ) and is given by: pwmdat0 = f core / (2 x f pwm ) therefore, the pwm switching period, ts, can be written as: ts = 2 x pwmdat0 x t core the largest value that can be written to the 16-bit pwmdat0 mmr is 0xffff = 65535 which corresponds to a minimum pwm switching frequency of: f pwm(min) = 45 x 10 6 / (2 x 65535) = 343.99 hz note that pwmdat0 value of 0 and 1 are not defined and should not be used. pwm switching dead time, pwmdat1 mmr the second important parameter that must be set up in the initial configuration of the pwm block is the switching dead time. this is a short delay time introduced between turning off one pwm signal (e.g. ah) and turning on the complementary signal (al). this short time delay is introduced to permit the power switch being turned off (in this case, ah) to completely recover its blocking capability before the complementary switch is turned on. this time delay prevents a potentially destructive short-circuit condition from developing across the dc link capacitor of a typical voltage source inverter. the dead time is controlled by the 10-bit, read/write pwmdat1 register. there is only one dead-time register that controls the dead time inserted into all three pairs of pwm output signals. the dead time, td, is related to the value in the pwmdat1 register by: td = pwmdat1 2 t core therefore, a pwmdat1 value of 0x00a (= 10), introduces an 426 ns delay between the turn-off on any pwm signal (say, ah) and the turn-on of its complementary signal (al). the amount
preliminary technical data aduc702x series rev. prc | page 45 of 80 of the dead time can therefore be programmed in increments of 2t core (or 42 ns for a 45 mhz core clock). the pwmdat1 register is a 10-bit register so that its maximum value is 0x3ff (= 1023), corresponding to a maximum programmed dead time of: td (max) = 1023 2 t core = 1023 2 22 10 C9 = 45.37 s for a core clock of 45 mhz. obviously, the dead time can be programmed to be zero by writing 0 to the pwmdat1 register. pwm operating mode, pwmcon and pwmsta mmrs the pwm controller of the ad uc702x can operate in two distinct modes, single update mode and double update mode. the operating mode of the pwm controller is determined by the state of bit 2 of the pwmcon register. if this bit is cleared the pwm operates in the single update mode. setting bit 2 places the pwm in the double update mode. t he default operating mode is single update mode. in single update mode, a single pwmsync pulse is produced in each pwm period. the rising edge of this signal marks the start of a new pwm cycle and is used to latch new values from the pwm configuration registers (pwmdat0 and pwmdat1) and the pwm duty cycle registers (pwmch0, pwmch1 and pwmch2) into the three-phase timing unit. in addition, the pwmen register is also latched into the output control unit on the rising ed ge of the pwmsync pulse. in effect, this means that the characteristics and resultant duty cycles of the pwm signals can be updated only once per pwm period at the start of each cycle. the result is that pwm patterns that are symmetrical about the midpoint of the switching period are produced. in double update mode, there is an additional pwmsync pulse produced at the midpoint of each pwm period. the rising edge of this new pwmsync pulse is again used to latch new values of the pwm configuration registers, duty cycle registers and the pwmen register. as a result it is possible to alter both the characteristics (switching frequency and dead time) as well as the output duty cycles at the midpoint of each pwm cycle. consequently, it is possible to produce pwm switching patterns that are no longer symmetrical about the midpoint of the period (asy mmetrical pwm patterns). in double update mode, it may be necessary to know whether operation at any point in time is in either the first half or the second half of the pwm cycle. this information is provided by bit 0 of the pwmsta register, which is cleared during operation in the first half of each pwm period (between the rising edge of the original pwmsync pulse and the rising edge of the new pwmsync pulse intr oduced in double update mode). bit 0 of the pwmsta register is set during operation in the second half of each pwm period. this status bit allows the user to make a determination of the particular half-cycle during implementation of the pwmsync interrupt service routine, if required. the advantage of double update mode is that lower harmonic voltages can be produced by the pwm process and faster control bandwidths are possible. however, for a given pwm switching frequency, the pwmsync pulses occur at twice the rate in the double update mode. since new duty cycle values must be computed in each pwmsync interrupt service routine, there is a larger co mputational burden on the arm core in double update mode. pwm duty cycles, pwmch0, pwmch1, pwmch2 mmrs the duty cycles of the six pwm output signals on pins ah to cl are controlled by the three 16-bit read/write duty cycle registers, pwmch0, pwmch1 and pwmch2. the duty cycle registers are programmed in inte ger counts of the fundamental time unit, t core , and define the desired on-time of the high-side pwm signal produced by the thr ee-phase timing unit over half the pwm period. the switching si gnals produced by the three- phase timing unit are also adjusted to incorporate the programmed dead time value in the pwmdat1 register. the three-phase timing unit produces active low signals so that a low level corresponds to a comma nd to turn on the associated power device. pwmch0 2x pwmdat1 pwmch0 0h pwmsta (0) 0l pwmdat0 pwmdat0 2x pwmdat1 pwmsync pwmdat2+1 figure 22: typical pwm outputs of three-phase timing unit in single update mode a typical pair of pwm outputs (in this case for ah and al) from the timing unit are shown in figure 22 for operation in single update mode. all illustrated time values indicate the integer value in the associated register and can be converted to time by simply multiplying by the fundamental time increment, t core . first, it is noted that the switching patterns are perfectly symmetrical about the midpoint of the switching period in this single update mode since the same values of pwmch0, pwmdat0 and pwmdat1 are used to define the signals in both half cycles of the period. it can be seen how the programmed duty cycles are adjust ed to incorporate the desired dead time into the resultant pair of pwm signals. clearly, the dead time is incorporated by moving the switching instants of both pwm signals (0h and 0l) away from the instant set by the pwmch0 register. both switch ing edges are moved by an equal amount (pwmdat1 x t core ) to preserve the
aduc702x series preliminary technical data rev. prc | page 46 of 80 symmetrical output patterns. also shown is the pwmsync pulse and bit 0 of the pwmsta register that indicates whether operation is in the first or second half cycle of the pwm period. the resultant on-times of the pwm signals over the full pwm period (two half periods) produced by the timing unit can be written as: t 0h = 2 x (pwmch0 - pwmdat1) x t core t 0l = 2 x (pwmdat0 C pwmch0 C pwmdat1) x t core and the corresponding duty cycles: d 0h = t 0h / ts = ( pwmch0 C pwmdat1) / pwmdat0 d 0l = t 0l / ts = (pwmdat0 C pwmch0 C pwmdat1) / pwmdat0 the minimum permissible t 0h and t 0l values are zero, corresponding to a 0% duty cycle. in a similar fashion, the maximum value is t s , corresponding to a 100% duty cycle. the output signals from the timing unit for operation in double update mode are shown in figure 23. this illustrates a completely general case where the switching frequency, dead time and duty cycle are all changed in the second half of the pwm period. of course, the same value for any or all of these quantities could be used in both halves of the pwm cycle. however, it can be seen that there is no guarantee that symmetrical pwm signals will be produced by the timing unit in double update mode. additionally, it is seen that the dead time is inserted into the pwm signals in the same way as in the single update mode. pwmch0 1 2x pwmdat1 2 pwmch0 2 0h pwmsta (0) 0l pwmdat0 1 pwmdat0 2 2x pwmdat1 1 pwmsync pwmdat2 2 +1 pwmdat2 1 +1 figure 23: typical pwm outputs of the three-phase timing unit in double update mode in general the on-times of the pwm signals in double update mode can be defined as: t 0h = (pwmch0 1 + pwmch0 2 C pwmdat1 1 C pwmdat1 2 ) x t core t 0l = (pwmdat0 1 + pwmdat0 2 - pwmch0 1 - pwmch0 2 C pwmdat1 1 C pwmdat1 2 ) x t core where the subscript 1 refers to th e value of that register during the first half cycle and the subscript 2 refers to the value during the second half cycle. the corresponding duty cycles are: d 0h = t 0h / ts = (pwmch0 1 + pwmch0 2 C pwmdat1 1 C pwmdat1 2 ) / (pwmdat0 1 + pwmdat0 2 ) d 0l = t 0l /ts = (pwmdat0 1 + pwmdat0 2 - pwmch0 1 - pwmch0 2 C pwmdat1 1 C pwmdat1 2 ) / (pwmdat0 1 + pwmdat0 2 ) since for the completely general case in double update mode, the switching period is given by: ts = (pwmdat0 1 + pwmdat0 2 ) x t core again, the values of t 0h and t 0l are constrained to lie between zero and t s . pwm signals similar to those illustrated in figure 22 and figure 23 can be produced on the 1h, 1l, 2h and 2l outputs by programming the pwmch1 and pwmch2 registers in a manner identical to that described for pwmch0. the pwm controller does not produce any pwm outputs until all of the pwmdat0, pwmch0, pwmch1 and pwmch2 registers have been written to at least once. once these registers have been written, internal counting of the timers in the three-phase timing unit is enabled. writing to the pwmdat0 register starts the internal timing of the main pwm timer. provided the pwmdat0 register is written prior to the pwmch0, pwmch1 and pwmch2 registers in the initialisation, the first pwmsync pulse and interrupt (if enabled) appear 1.5 x t core x pwmdat0 seconds after the initial write to the pwmdat0 register in single update mode. in double update mode, the first pwmsync puls e appears after pwmdat0 x t core seconds. output control unit the operation of the output control unit is controlled by the 9-bit read/write pwmen register. this register controls two distinct features of the output control unit that are directly useful in the control of ecm or bdcm. the pwmen register contains three crossover bits, one for each pair of pwm outputs. setting bit 8 of the pwmen register enables the crossover mode for the 0h/0l pair of pwm signals, setting bit 7 enables crossover on the 1h/1l pair of pwm signals and setting bit 6 enables crossover on the 2h/2l pair of pwm signals. if crossover mode is enabled for any pair of pwm signals, the high-side pwm signal from the timing unit (0h, for example) is diverted to the associated low-side output of the output control unit so that the signal will ultimately appear at the 0l pin. of course, the corresponding low-side output of the timing unit is also diverted to the complementary high-side output of
preliminary technical data aduc702x series rev. prc | page 47 of 80 the output control unit so that the signal appears at the 0h pin. following a reset, the three crossover bits are cleared so that the crossover mode is disabled on all three pairs of pwm signals. the pwmen register also contains six bits (bits 0 to 5) that can be used to individually enable or disable each of the six pwm outputs. if the associated bit of the pwmen register is set, the corresponding pwm output is disabled irrespective of the value of the corresponding duty cycle register. this pwm output signal will remain in the off state as long as the corresponding enable/disable bit of the pwmen register is set. the implementation of this output enable function is implemented after the crossover function. following a reset, all six enable bits of the pwmen register are cleared so that all pwm outputs are enabled by default. in a manner identical to the duty cycle registers, the pwmen is latched on the rising edge of the pwmsync signal so that changes to this register only become effective at the start of each pwm cycle in single update mode. in double update mode, the pwmen register can also be updated at the midpoint of the pwm cycle. in the control of an ecm only two inverter legs are switched at any time and often the high-side device in one leg must be switched on at the same time as the low-side driver in a second leg. therefore, by programming id entical duty cycles values for two pwm channels (e.g. pwmch0 = pwmch1) and setting bit 7 of the pwmen register to cross over the 1h/1l pair of pwm signals, it is possible to turn on the high-side switch of phase a and the low-side switch of phase b at the same time. in the control of ecm, it is usual for the third inverter leg (phase c in this example) to be disabled for a number of pwm cycles. this function is implemented by disabling both the 2h and 2l pwm outputs by setting bits 0 and 1 of the pwmen register. this situation is illustrated in figure 24, where it can be seen that both the 0h and 1l signals are identical, since pwmch0 = pwmch1 and the crossover bit for phase b is set. 2xpwmdat1 2xpwmdat1 pwmch0 = pwmch1 0h 1l 0l pwmdat0 pwmdat0 1h 2l 2h pwmch0 = pwmch1 figure 24. example active lo pwm signals suitable for ecm control, pwmch0 = pwmch1, crossover bh/bl pa ir and disable 0l, 1h, 2h and 2l outputs. operation is in single update mode. in addition, the other four signals (0l, 1h, 2h and 2l) have been disabled by setting the appr opriate enable/disable bits of the pwmen register. for the situation illustrated in figure 24, the appropriate value for the pwmen register is 0x00a7. in normal ecm operation, each invert er leg is disabled for certain periods of time so that the pw men register is changed based on the position of the roto r shaft (motor commutation). gate drive unit the gate drive unit of the pwm controller adds features that simplify the design of isolated gate drive circuits for pwm inverters. if a transformer-co upled power device gate drive amplifier is used then the active pwm signal must be chopped at a high frequency. the 10-bi t read/write pwmcfg register allows the programming of this high frequency chopping mode. the chopped active pwm signals may be required for the high- side drivers only, for the low-side drivers only or for both the high-side and low-side switches. therefore, independent control of this mode for both high- and low-side switches is included with two separate control bits in the pwmcfg register. typical pwm output signals wi th high frequency chopping enabled on both high-side and low-side signals are shown in figure 25. chopping of the high side pwm outputs (0h, 1h and 2h) is enabled by setting bit 8 of the pwmcfg register. chopping of the low-side pwm outputs (0l, 1l and 2l) is enabled by setting bit 9 of the pwmcfg register. the high frequency chopping frequency is controlled by the 8-bit word (gdclk) placed in bits 0 to 7 of the pwmcfg register. the period of this high frequency carrier is: t chop = (4 x (gdclk + 1)) x t core and the chopping frequency is therefore an integral subdivision of the microconverter core frequency: f chop = f core / (4 x (gdclk + 1)) the gdclk value may range from 0 to 255, corresponding to a programmable chopping frequency rate from 45.9 khz to 11.75 mhz for a 45 mhz core frequency. the gate drive features must be programmed before op eration of the pwm controller and typically are not changed during normal operation of the pwm controller. following a reset, all bits of the pwmcfg register are cleared so that high frequency chopping is disabled, by default.
aduc702x series preliminary technical data rev. prc | page 48 of 80 pwmch0 2xpwmdat1 2xpwmdat1 pwmch0 0h 0l pwmdat0 pwmdat0 4x(gdclk+1)xt core figure 25: typical pwm signals with high frequency gate chopping enabled on both high-side and low-side switches pwm shutdown in the event of external fault conditions, it is essential that the pwm system be instantaneously sh ut down in a safe fashion. a low level on the pwmtrip pin provides an instantaneous, asynchronous (independent of th e microconverter core clock) shutdown of the pwm controlle r. all six pwm outputs are placed in the off state, i.e. high state. in addition, the pwmsync pulse is disabled. the pwmtrip pin has an internal pull-down resistor so that if the pin becomes disconnected the pwm will be disabled. the state of the pwmtrip pin can be read from bit 3 of the pwmsta register. on the occurrence of a pwm shutdown command, a pwmtrip interrupt will be generated, internal timing of the three-phase timing unit of th e pwm controller is stopped. following a pwm shutdown, the pwm can only be re-enabled (in a pwmtrip interrupt service routine, for example) by writing to all of the pwmdat0, pwmch0, pwmch1 and pwmch2 registers. provided the external fault has been cleared and the pwmtrip has returned to a high level, internal timing of the three-phase timing unit resumes and new duty-cycle values are latched on the next pwmsync boundary. pwm mmrs interface the pwm block is controlled via the following nine mmrs: - pwmcon : control register, enable the pwm, choose the update rate - pwmsta : reflects the status of the pwm - pwmdat0 : unsigned 16-bit register for switching period - pwmdat1 : unsigned 10-bit register for dead time - pwmcfg : gate chopping - pwmch0,ch1,ch2 : channel duty cycle for the three phases - pwmen : allows enabling channel outputs and crossover. see bit definition table 28. - pwmdat2 : unsigned 10-bit register for pwm sync pulse width. table 25: pwmcon mmr bit descriptions bit name description 7-5 reserved 4 pwm_syncsel external sync select set to use external sync cleared to use internal sync 3 pwm_extsync external sync select set to select external synchronous sync signal cleared for asynchronous sync signal 2 pwmdbl double update mode set to 1 by the user to enable double update mode clear to 0 by the user to enable single update mode 1 pwm_sync_en pwm synchronisation enable set by user to enable synchronisation cleared by user to disable synchronisation 0 pwmen pwm enable bit set to 1 by the user to enable the pwm clear to 0 by the user to disable th e pwm. also cleared automatically with pwmtrip table 26: pwmsta mmr bit des criptions bit name description 15-10 reserved 9 pwmsyncint pwm sync interrupt bit
preliminary technical data aduc702x series rev. prc | page 49 of 80 8 pwmtripint pwm trip interrupt bit 3 pwmtrip raw signal from the pwmtrip pin 2-1 reserved 0 pwmphase pwm phase bit set to 1 by the microconverter when the timer is counting down (1 st half) clear to 0 by the microconverter when the timer is counting up (2 nd half) table 27: pwmcfg mmr bit descriptions bit name description 9 choplo low-side gate chopping enable bit 8 chophi high-side gate chopping enable bit 0:7 gdclk pwm gate chopping period (unsigned) table 28: pwmen mmr bit descriptions bit name description 8 0h0l_xovr channel 0 output crossover enable bit set to 1 by the user to enab le channel 0 output crossover clear to 0 by the user to disable channel 0 output crossover 7 1h1l_xovr channel 1 output crossover enable bit set to 1 by the user to enab le channel 1 output crossover clear to 0 by the user to disable channel 1 output crossover 6 2h2l_xovr channel 2 output crossover enable bit set to 1 by the user to enab le channel 2 output crossover clear to 0 by the user to disable channel 2 output crossover 5 0l_en al output enable bit set to 1 by the user to disable the 0l output of the pwm clear to 0 by the user to enable the 0l output of the pwm 4 0h_en ah output enable bit set to 1 by the user to disable the 0h output of the pwm clear to 0 by the user to enable the 0h output of the pwm 3 1l_en bl output enable bit set to 1 by the user to disable the 1l output of the pwm clear to 0 by the user to enable the 1l output of the pwm 2 1h_en bh output enable bit set to 1 by the user to disable the 1h output of the pwm clear to 0 by the user to enable the 1h output of the pwm 1 2l_en cl output enable bit set to 1 by the user to disable the 2l output of the pwm clear to 0 by the user to enable the 2l output of the pwm 0 2h_en ch output enable bit set to 1 by the user to disable the 2h output of the pwm clear to 0 by the user to enable the 2h output of the pwm
aduc702x series preliminary technical data rev. prc | page 50 of 80 general purpose i/o the aduc702x provides 40 general purpose bi-directional i/o pins (gpio). all i/o pins are 5v tolerant which means that the gpios support an input voltage of 5v. in general many of the gpio pins have multiple functions, see table 30 for the pin function definition. by default the gpio pins are configured in gpio mode. all gpio pins have internal pull up resistor and their drive capability is 1.6ma. the 40 gpio are grouped in 5 ports, port 0 to 4. each port is controlled by four mmrs: (x representing the port number) - gpxcon: port x control register, selects the function of each pin of port x. as described in table 29. the default value of gpxcon is 0x00000000, except gp0con which is 0x01001000 in order to make the trst and mrst functions available at reset. the on-chip kernel configures them in gpio mode before running user code. - gpxdat: port x configuration and data register. it configures the direction of the gpio pins of port x, sets the output value for the pins configured as output and receives the stores the input value of the pins configured as input. - gpxset: data set port x - gpxclr: data clear port x see table 6 page 24 for address location of these 20 registers. table 29: gpxcon mmr bit descriptions bit description 31-30 reserved 29-28 select function of px.7 pin 27-26 reserved 25-24 select function of px.6 pin 23-22 reserved 21-20 select function of px.5 pin 19-18 reserved 17-16 select function of px.4 pin 15-14 reserved 13-12 select function of px.3 pin 11-10 reserved 9-8 select function of px.2 pin 7-6 reserved 5-4 select function of px.1 pin 3-2 reserved 1-0 select function of px.0 pin note that the pwm block is on all parts, however on the 40 pin package only one channel is available at the time via the pla. see code example provided on the cd and web site. table 30: gpio pin function descriptions confi g uration port pin 00 01 10 11 p0.0 gpio cmp ms2 plai [ 7 ] p0.1 gpio pwm2h ble - p0.2 gpio pwm2l bhe - p0.3 gpio trst a16 adc busy p0.4 gpio/ir q 0pwmtrip ms1 plao [ 1 ] p0.5 gpio/irq1 adc busy ms0 plao[2] p0.6 gpio/t1 mrst ae plao [ 3 ] 0 p0.7 gpio eclk sin plao [ 4 ] p1.0 gpio/t1 sin scl0 plai [ 0 ] p1.1 gpio sout sda0 plai [ 1 ] p1.2 gpio rts scl1 plai [ 2 ] p1.3 gpio cts sda1 plai [ 3 ] p1.4 gpio/ir q 2ri clkplai [ 4 ] p1.5 gpio/ir q 3dcd misoplai [ 5 ] p1.6 gpio dsr mosi plai [ 6 ] 1 p1.7 gpio dtr csl plao [ 0 ] p2.0 gpio convs sout plao [ 5 ] p2.1 gpio pwm0h ws plao [ 6 ] p2.2 gpio pwm0l rs plao [ 7 ] p2.3 gpio - ae - p2.4 gpio pwm0h ms0 - p2.5 gpio pwm0l ms1 - p2.6 gpio pwm1h ms2 - 2 p2.7 gpio pwm1l ms3 - p3.0 gpio pwm0h ad0 plai [ 8 ] p3.1 gpio pwm0l ad1 plai [ 9 ] p3.2 gpio pwm1h ad2 plai [ 10 ] p3.3 gpio pwm1l ad3 plai [ 11 ] p3.4 gpio pwm2h ad4 plai [ 12 ] p3.5 gpio pwm2l ad5 plai [ 13 ] p3.6 gpio pwmtrip ad6 plai [ 14 ] 3 p3.7 gpio pwmsyn ad7 plai [ 15 ] p4.0 gpio - ad8 plao [ 8 ] p4.1 gpio - ad9 plao [ 9 ] p4.2 gpio - ad10 plao [ 10 ] p4.3 gpio - ad11 plao [ 11 ] p4.4 gpio - ad12 plao [ 12 ] p4.5 gpio - ad13 plao [ 13 ] p4.6 gpio - ad14 plao [ 14 ] 4 p4.7 gpio - ad15 plao [ 15 ]
preliminary technical data aduc702x series rev. prc | page 51 of 80 table 31: gpxdat mmr bit descriptions bit description 31-24 direction of the data: set to 1 by the user to configure the gpio pin as an output clear to 0 by the user to configure the gpio pin as an input 23-16 port x data output 15-8 reflect the state of port x pins at reset (read only) 7-0 port x data input (read only) table 32: gpxset mmr bit descriptions bit description 31-24 reserved 23-16 data port x set bit: set to 1 by the user to set bit on port x. wi ll also set the corresponding bit in the gpxdat mmr clear to 0 by the user will not affect the data out 15-0 reserved table 33: gpxclr mmr bit descriptions bit description 31-24 reserved 23-16 data port x clear bit: set to 1 by the user to clear bit on port x, wi ll also clear the corresponding bit in the gpxdat mmr clear to 0 by the user will not affect the data out 15-0 reserved
aduc702x series preliminary technical data rev. prc | page 52 of 80 serial port mux the serial port mux multiplexes the serial port peripherals (two i 2 c, spi, uart) and the programmable logic array (pla) to a set of ten gpio pins. each pin must be configured to one of its specific i/o function as described in table 34. gpio uart uart/i 2 c/spi pla 00 01 10 11 spm0 p1.0 sin i2c0scl plai [ 0 ] spm1 p1.1 sout i2c0sda plai [ 1 ] spm2 p1.2 rts i2c1scl plai [ 2 ] spm3 p1.3 cts i2c1sda plai [ 3 ] spm4 p1.4 ri spiclk plai [ 4 ] spm5 p1.5 dcd spimiso plai [ 5 ] spm6 p1.6 ds r spimosi plai [ 6 ] spm7 p1.7 dt r spicsl plao [ 0 ] spm8 p0.7 eclk sin plao [ 4 ] spm9 p2.0 conv sout plao [ 5 ] table 34: spm configuration table 34 details the mode for each of the spmux gpio pins. this configuration has to be done via the gp0con, gp1con and gp2con mmrs. by default these ten pins are configured as gpios. uart serial interface the uart peripheral is a full-duplex universal asynchronous receiver/transmitter, fully compatible with the 16450 serial port standard. the uart performs serial-to-parallel conversion on data characters received from a peripheral device or a modem, and parallel-to-serial conversion on data characters received from the cpu. the uart includes a fractional divider for baudrate generation and has a network addressable mode. the uart function is made available on the following 10 pins of the aduc702x: pin si g nal descri p tion spm0 ( mode 1 ) sin serial receive data spm1 ( mode 1 ) sout serial transmit data spm2 ( mode 1 ) rts re q uest to send spm3 ( mode 1 ) cts clear to send spm4 ( mode 1 ) ri rin g indicator spm5 ( mode 1 ) dcd data carrier detect spm6 ( mode 1 ) dsr data set read y spm7 ( mode 1 ) dtr data terminal read y spm8 ( mode 2 ) sin serial receive data spm9 ( mode 2 ) sout serial transmit data table 35: uart signal description the serial communication adopts a asynchronous protocol that supports various word length, stop bits and parity generation options selectable in the configuration register. baud rate generation there is two way of generating the uart baudrate. - normal 450 uart baudrate generation: the baudrate is a divided version of the core clock using the value in comdiv0 and comdiv1 mmrs (16-bit value, dl). dl mhz baudrate cd = 2 16 2 088 . 45 the following table gives some common baudrate values: baudrate cd dl actual baudrate % error 9600 0 92h 9651 0.53% 19200 0 49h 19301 0.53% 115200 0 0ch 117417 1.92% 9600 3 12h 9785 1.92% 19200 3 9h 19569 1.92% 115200 3 1h 88062 23.55% table 36: baudrate using the normal baudrate generator - using the fractional divider: the fractional divider combined with the normal baudrate generator allows the generating of a wider range of more accurate baudrates. core clock /(m+n/2048) /16dl uart fben /2 figure 26: baudrate generation options calculation of the baudrate using fractional divider is as follow: ) 2048 ( 2 16 2 088 . 45 n m dl mhz baudrate cd + = 2 16 2 088 . 45 2048 = + dl baudrate mhz n m cd example: generation of 9600 baud with cd bits = 3. the previous table gives dl = 12h.
preliminary technical data aduc702x series rev. prc | page 53 of 80 2 18 16 2 9600 088 . 45 2048 3 = + mhz n m 019 . 1 2048 = + n m m = 1 and n = 0.019 x 2048 = 39 ) 2048 39 1 ( 2 18 16 2 088 . 45 3 + = mhz baudrate baudrate = 9602 bps error = 0.02% compared to 1.92% with the normal baudrate generator. uart registers definition the uart interface consists on 12 registers namely: - comtx: 8-bit transmit register - comrx: 8-bit receive register - comdiv0: divisor latch (low byte) comtx, comrx and comdiv0 share the same address location. comtx and comtx can be accessed when bit 7 in comcon0 register is cleared. comdiv0 can be accessed when bit 7 of comcon0 is set. - comdiv1: divisor latch (high byte) - comcon0: line control register - comsta0: line status register - comien0: interrupt enable register - comiid0: interrupt identification register - comcon1: modem control register - comsta1: modem status register - comdiv2: 16-bit fractional baud divide register - comscr: 8-bit scratch register used for temporary storage. also used in network addressable uart mode. table 37: comcon0 mmr bit descriptions bit name description 7 dlab divisor latch access set by user to enable access to comdiv0 and comdiv1 registers cleared by user to disable access to comdiv 0 and comdiv1 and enable access to comrx and comtx 6 brk set break. set by user to force sout to 0 cleared to operate in normal mode 5 sp stick parity set by user to force parity to defined values: 1 if eps = 1 and pen = 1 0 if eps = 0 and pen = 1 4 eps even parity select bit set for even parity cleared for odd parity 3 pen parity enable bit: set by user to transmit and check the parity bit cleared by user for no parity transmission or checking 2 stop stop bit set by user to transmit 1.5 stop bit if the word length is 5 bits or 2 stop bits if the word length is 6, 7 or 8 bits. the receiver checks the first stop bit only , regardless of the number of stop bits selected cleared by user to generate 1 stop bit in the transmitted data 1-0 wls word length select: 00 = 5 bits 01 = 6 bits 10 = 7 bits 11 = 8 bits
aduc702x series preliminary technical data rev. prc | page 54 of 80 table 38: comsta0 mmr bit descriptions bit name description 7 reserved 6 temt comtx empty status bit set automatically if comtx is empty cleared automatically when writing to comtx 5 thre comtx and comrx empty set automatically if comtx and comrx are empty cleared automatically when one of the register receives data 4 bi break error set when sin is held low for more than the maximum word length cleared automatically 3 fe framing error set when invalid stop bit cleared automatically 2 pe parity error set when a parity error occurs cleared automatically 1 oe overrun error set automatically if data are overwrite before been read cleared automatically 0 dr data ready set automatically when comrx is full cleared by reading comrx table 39: comien0 mmr bit descriptions bit name description 7-4 reserved 3 edssi modem status interrupt enable bit set by user to enable generation of an interrupt if any of comsta1[3:0] are set cleared by user 2 elsi rx status interrupt enable bit set by user to enable generation of an interrupt if any of comsta0[3:0] are set cleared by user 1 etbei enable transmit buffer empty interrupt set by user to enable interrupt when buffer is empty during a transmission cleared by user 0 erbfi enable receive buffer full interrupt set by user to enable interrupt when buffer is full during a reception cleared by user table 40: comiid0 mmr bit descriptions bit 2-1 status bits bit 0 nint priority definition clearing operation 00 1 no interrupt 11 0 1 receive line status interrupt read comsta0 10 0 2 receive buffer full interrupt read comrx 01 0 3 transmit buffer empty interrupt write data to comtx or read comiid0 00 0 4 modem status interrupt read comsta1 register
preliminary technical data aduc702x series rev. prc | page 55 of 80 table 41: comcon1 mmr bit descriptions bit name description 7-5 reserved 4 loopback loop back set by user to enable loop back mode. in loop back mode the sout is forced high. also the modem signals are directly connected to the status inputs (r ts to cts, dtr to dsr, out1 to ri and out2 to dcd) 1 rts request to send set by user to force the rts output to 0 cleared by user to force the rts output to 1 0 dtr data terminal ready set by user to force the dtr output to 0 cleared by user to forc e the dtr output to 1 table 42: comsta1 mmr bit descriptions bit name description 7 dcd data carrier detect 6 ri ring indicator 5 dsr data set ready 4 cts clear to send 3 ddcd delta dcd set automatically if dcd changed state since comsta1 last read cleared automatically by reading comsta1 2 teri trailing edge ri set if nri changed from 0 to 1 since comsta1 last read cleared automatically by reading comsta1 1 ddsr delta dsr set automatically if dsr changed state since comsta1 last read cleared automatically by reading comsta1 0 dcts delta cts set automatically if cts changed state since comsta1 last read cleared automatically by reading comsta1 table 43: comdiv2 mmr bit descriptions bit name description 15 fben fractional baudrate generator enable bit set by user to enable the fractional baudrate generator cleared by user to generate baudrate using the standard 450 uart baudrate generator 14-13 reserved 12-11 fbm[1-0] m. if fbm = 0, m = 4 10-0 fbn[10-0] n
aduc702x series preliminary technical data rev. prc | page 56 of 80 network addressable uart mode this mode allows connecting the microconverter on a 256- node serial network, either as a hardware single-master or via software in a multi-master network. bit 7 of comien1 (enam bit) must be set to enable uart in network addressable mode. note that there is no parity check in this mode, the parity bit is used for address. network addressable uart register definitions three additional register: - comscr: 8-bit scratch register used for temporary storage. in network address mode, the least significant bit of the scratch register is the transmitted network address control bit. if set to 1, the device is transmitting an address. if cleared to 0, the device is transmitting data. - comien1: 8-bit network enable register. - comiid1: 8-bit network interrupt register. bit 7 to 4 are reserved. see table 45. - comadr: 8-bit read and write network address register. holds the address the network addressable uart checks for. on receiving this address the device interrupts the processor and/or sets the appropriate status bit in comiid1. comien1, comiid1 and comadr are used only in network addressable uart mode. table 44: comien1 mmr bit descriptions bit name description 7 enam network address mode enable bit set by user to enable network address mode cleared by user to disable network address mode 6 e9bt 9-bit transmit enable bit set by user to enable 9-bit transmit. enam must be set cleared by user to disable 9-bit transmit 5 e9br 9-bit receive enable bit set by user to enable 9-bit receive. enam must be set cleared by user to disable 9-bit receive 4 eni network interrupt enable bit 3 e9bd word length set for 9-bit data. e9bt has to be cleared. cleared for 8-bit data 2 etd transmitter pin driver enable bit set by user to enable sout pin as an ou tput in slave mode or multi-master mode cleared by user, sout is three-state 1 nabp network address bit, interrupt polarity bit 0 nab network address bit set by user to transmit the slaves address cleared by user to transmit data table 45: comiid1 mmr bit descriptions bit 3-1 status bits bit 0 nint priority definition clearing operation 000 1 no interrupt 110 0 2 matching network address read comrx 101 0 3 address transmitted, buffer empty wri te data to comtx or read comiid0 011 0 1 receive line status interrupt read comsta0 010 0 2 receive buffer full interrupt read comrx 001 0 3 transmit buffer empty interrupt write data to comtx or read comiid0 000 0 4 modem status interrupt read comsta1 register
preliminary technical data aduc702x series rev. prc | page 57 of 80 serial peripheral interface the aduc702x integrates a complete hardware serial peripheral interface (spi) on-chip. spi is an industry standard synchronous serial interface that allows eight bits of data to be synchronously transmitted and received simultaneously, i.e., full duplex up to a maximum bit rate of 5.6mbs. the spi port can be configured for master or slave operation and typically consists of four pins, namely: miso (master in, slave out data i/o pin) the miso (master in slave out) pin is configured as an input line in master mode and an output line in slave mode. the miso line on the master (data in) should be connected to the miso line in the slave device (data out). the data is transferred as byte wide (8-bit) serial data, msb first. mosi (master out, slave in pin) the mosi (master out slave in) pin is configured as an output line in master mode and an input line in slave mode. the mosi line on the master (data out) should be connected to the mosi line in the slave device (data in). the data is transferred as byte wide (8-bit) serial data, msb first. scl (serial clock i/o pin) the master serial clock (scl) is used to synchronize the data being transmitted and received through the mosi scl period. therefore, a byte is transmitted/received after eight scl periods. the scl pin is configured as an output in master mode and as an input in slave mode. in master mode polarity and phase of the clock are controlled by the spicon register, and the bit-rate is defined in the spidiv register as follow: ) 1 ( 2 spidiv f f coreclock k serialcloc + = the maximum serial bit clock frequency is 1/8 of the core clock which, based on a maximum core clock frequency of 45mhz is just above 5.6mbs. in slave mode the spicon register must be configured with the phase and polarity of the expected input clock. in both master and slave modes, the data is transmitted on one edge of the scl signal and sampled on the other. it is important therefore that the polarity and phase are configured the same for the master and slave devices. chip select (cs) input pin in spi slave mode, a transfer is initiated by the assertion of cs which is an active low input signal. the spi port will then transmit and receive 8-bit data until the transfer is concluded by desassertion of cs . in slave mode cs is always an input. spi registers definition the following mmr registers are used to control the spi interface: - spicon: 16-bit control register - spista: 8-bit read only status register - spidiv: 8-bit serial clock divider register - spitx: 8-bit write only transmit register - spirx: 8-bit read only receive register table 46: spicon mmr bit descriptions bit description 15-13 reserved 12 continuous transfer enable set by user to enable continuous transfer. in master mode the transfer will continue until no valid data is available in the tx register. cs will be asserted and remain asserted for the duration of each 8-bi t serial transfer until tx is empty cleared by user to disable continuous transfer. each transfer consists of a single 8-bit serial transfer. if valid data exists in the spitx register then a new transfer is initiated after a stall period 11 loop back enable set by user to connect miso to mosi and test software cleared by user to be in normal mode 10 slave output enable set by user to enable the slave output cleared by user to disable slave output 9 slave select input enable set by user in master mode to enable the output 8 spirx overflow overwrite enable set by user, the valid data in the rx register is overwritten by the new serial byte received
aduc702x series preliminary technical data rev. prc | page 58 of 80 cleared by user, the new serial byte received is discarded 7 spitx underflow mode set by user to transmit the previous data cleared by user to transmit 0 6 transfer and interrupt mode (master mode) set by user to initiate transfer wi th a write to the spitx register. interrupt will occur when tx is empty cleared by user to initiate transfer wi th a read of the spirx register. in terrupt will occur when rx is full 5 lsb first transfer enable bit set by user the lsb is transmitted first cleared by user the msb is transmitted first 4 reserved 3 serial clock polarity mode bit set by user, the serial clock idles high cleared by user the serial clock idles low 2 serial clock phase mode bit set by user, the serial clock pulses at th e beginning of each serial bit transfer cleared by user, the serial clock pulses eat end of each serial bit transfer 1 master mode enable bit set by user to enable master mode cleared by user to enable slave mode 0 spi enable bit set by user to enable the spi cleared to disable the spi table 47: spista mmr bit descriptions bit description 7-6 reserved 5 spirx data register overflow status bit set if spirx is overflowing cleared by reading spisrx register 4 spirx data register irq set automatically if bit 3 or 5 are set cleared by reading spirx register 3 spirx data register full status bit set automatically if a valid data is present in the spirx register cleared by reading spirx register 2 spitx data register underflow status bit set automatically if spitx is under flowing cleared by writing in the spitx register 1 spitx data register irq set automatically if bit 0 is clear or bit 2 is set cleared by writing in the spitx register or if finished transmission disabling the spi 0 spitx data register empty status bit set by writing to spitx to send data. this bit is set during transmission of data cleared when spitx is empty
preliminary technical data aduc702x series rev. prc | page 59 of 80 i 2 c compatible interfaces the aduc702x supports two fully licensed * i 2 c interfaces. the i 2 c interfaces are both implemented as a full hardware master and slave interface. the two i 2 c interfaces being identical, this document will describe only i 2 c0 in detail. the two pins used for data transfer, sda and scl are configured in a wired-and format that allows arbitration in a multi-master system. the i 2 c bus peripherals addresses in the i 2 c bus system is programmed by the user. this id can be modified at any time while a transfer is not in progress. the user can configure the interface to respond to four slave addresses. the transfer sequence of a i 2 c system consists of a master device initiating a transfer by generating a start condition while the bus is idle. the master transmits the address of the slave device and the direction of the data tr ansfer in the initial address transfer. if the master does no t loose arbitration and the slave acknowledges then the data transfer is initiated. this continues until the master issues a stop condition and the bus becomes idle. the i 2 c peripheral master and slave functionality are independent and may be active simultaneously. a slave is activated when a transfer has been initiated on the bus. if it is not being addressed it will remain inactive until another transfer is initiated. this also allows a master device which looses arbitration to respond as a slave in the same cycle. serial clock generation the i 2 c master in the system generates the serial clock for a transfer. the master channel can be configured to operate in fast mode (400 khz) or standard mode (100 khz). the bit-rate is defined in the i2c0divh and i2c0divl mmrs as follow : ) 0 2 0 2 2 ( 2 divl c i divh c i f f coreclock k serialcloc + + = slave addresses the registers i2c0id0, i2c0id1, i2c0id2 and i2c0id3 contain the device ids. the device compares the four i2c0idx registers to the address byte. th e 7 most significant bits of either id register must be identical to that of the 7 most significant bits of the first address byte received to be correctly addressed. the lsb of the id regist ers, transfer direction bit, is ignored in the process of address recognition. i 2 c registers description the i 2 c peripheral interface consists on 17 8-bit mmrs: - i2c0cfg: configuration register described table 48 - i2c0divh, i2c0divl: clock divider registers - i2c0srx, i2c0stx, and i2c0ssta: respectively receive, transmit and status register for the slave channel. the status register is described table 49. - i2c0id0, i2c0id1, i2c0id2 and i2c0id3: slave address device id register - i2c0mrx, i2c0mtx, and i2c0msta: respectively receive, transmit and status register for the master channel. the status register is described table 50. - i2c0cnt: master receive data count register. if a master read transfer sequence is initiated, the i2c0cnt register denotes the number of bytes to be read from the slave device. - i2c0adr: master address byte register. the i2c0adr value is the address of the device the master wants to communicate with, it will be transmitted automatically at the start of a master transfer sequence if there is no valid data in the i2c0mtx register when setting the master enable bit. - i2c0alt: hardware general call id register, used in slave mode table 48: i2c0cfg mmr bit descriptions bit description 7 master serial clock enable bit set by user to enable generation of the serial clock in master mode cleared by user to disable serial clock in master mode 6 loop back enable bit set by user to internally connect the transition to the reception, to test user software cleared by user to operate in normal mode 5 start back-off disable bit set by user in multi-master mode. if losing arbitration the master will try to transmit again straight away cleared by user to enable start back-off. the master after losing arbitration will wait before trying to transmit again 4 hardware general call enable (bit 3 must be set) set by user to enable hardware general call cleared by user to disable hardware general call
aduc702x series preliminary technical data rev. prc | page 60 of 80 3 general call enable bit set by user to address every device on the i 2 c bus cleared by user to operate in normal mode 2 reserved 1 master enable bit set by user to enable the master i 2 c channel cleared by user to disable the master i 2 c channel 0 slave enable bit set by user to enable the slave i 2 c channel. a slave transfer sequence will be monitored for the device address in i2c0id0, i2c0id1, i2c0id2 and i2c0id3. if the device address is recognis ed the part will participate in the slave transfer sequence cleared by user to disable the slave i 2 c channel table 49: i2c0ssta mmr bit des criptions bit description 7 transmit fifo flush set by user to flush the transmit fifo cleared by user to operate in normal mode 6 slave busy set automatically if the slave is busy cleared automatically 5 no ack set if master asking for data and no data is available cleared automatically 4 slave receive fifo overflow set automatically if the slave receive fifo is overflowing cleared automatically by reading i2c0srx 3 slave receive irq set after receiving data cleared automatically by reading the i2c0srx register 2 slave transmit irq set at the end of a transmission cleared automatically by writing to the i2c0stx register 1 slave transmit fifo underflow set automatically if the slave transmit fifo is underflowing cleared automatically by writing to the i2c0stx register 0 slave transmit fifo empty set automatically if the slave transmit fifo is empty cleared automatically by writing to the i2c0stx register table 50: i2c0msta mmr bit des criptions bit description 7 transmit fifo flush set by user to flush the transmit fifo cleared by user to operate in normal mode 6 master busy set automatically if the master is busy cleared automatically 5 arbitration loss set in multi-master mode if another master has the bus cleared when the bus becomes available
preliminary technical data aduc702x series rev. prc | page 61 of 80 4 no ack set automatically, if the master receive fifo is full, the master doesnt acknowledge the data received cleared automatically 3 master receive fifo overflow set automatically if the master receive fifo is overflowing cleared automatically by reading i2c0mrx 2 master receive irq set after receiving data cleared automatically by reading the i2c0mrx register 1 master transmit irq set at the end of a transmission cleared automatically by writing to the i2c0mtx register 0 master tx fifo empty set automatically if the master transmit fifo is empty cleared automatically by writing to the i2c0mtx register * purchase of licensed i 2 c components of analog devices or one of its sublicensed associated companies conveys a license for the purchaser under the philips i 2 c patent rights to use the aduc702x in an i 2 c system, provided that the system conforms to the i 2 c standard specification as defined by philips.
aduc702x series preliminary technical data rev. prc | page 62 of 80 programmable logic array (pla) the aduc702x integrates a fully programmable logic array (pla) which consists of two independent but interconnected pla blocks. each block consists of eight pla elements, which gives a total of 16 pla elements. a pla element contains a two-input lookup table that can be configured to generate any logic output function based on two inputs and a flip-flop as represented in figure 27 below. 0 1 2 3 4 look-up table a b figure 27: pla element in total, 30 gpio pins are available on the aduc702x for the pla. these include 16 input pins and 14 output pins. they need to be configured in the gpxcon register as pla pins before using the pla. note that the comparator output is also included as one of the 16 input pins. the pla is configured via a set of user mmrs and the output(s) of the pla can be routed to the internal interrupt system, to the conv start signal of the adc, to a mmr or to any of the 16 pla output pins. the interconnection between the two blocks is supported by connecting output of element 7 of block 1 fed back to the input 0 of mux 0 of element 0 of block 0, and the output of element 7 of block 0 is fed back to the input 0 of mux 0 of element 0 of block 1. pla block 0 pla block 1 element input output element input output 0 p1.0 p1.7 8 p3.0 p4.0 1 p1.1 p0.4 9 p3.1 p4.1 2 p1.2 p0.5 10 p3.2 p4.2 3 p1.3 p0.6 11 p3.3 p4.3 4 p1.4 p0.7 12 p3.4 p4.4 5 p1.5 p2.0 13 p3.5 p4.5 6 p1.6 p2.1 14 p3.6 p4.6 7 p0.0 p2.2 15 p3.7 p4.7 table 51: element input/output pla mmrs interface the pla peripheral interface consists on 21 mmrs: - plaelmx : element0 to element 15 control registers, configure the input and output mux of each element, select the function in the lookup table and bypass/use the flip-flop. - placlk : clock selection for the flip-flops of block 0 and clock selection for the flip-flops of block 1 - plairq : enable irq0 or/and irq1 and select the source of the irq - plaadc : pla source fro adc start conversion signal - pladin : data input mmr for pla - pladout : data output mmr for pla. this register is always updated. a pla tool is provided in the development system to easily configure the pla. table 52: plaelmx mmr bit descriptions bit description plaelm0 plaelm1 - 7 plaelm8 plaelm9-15 31-11 reserved 00 C element 15 element 0 element 7 element 8 01 C element 2 element 2 element 10 element 10 10 C element 4 element 4 element 12 element 12 10-9 mux (0) control, select feedback from: 11 C element 6 element 6 element 14 element 14 00 C element 1 element 1 element 9 element 9 01 C element 3 element 3 element 11 element 11 10 C element 5 element 5 element 13 element 13 8-7 mux (1) control, select feedback from: 11 C element 7 element 7 element 15 element 15 6 mux (3) control set by user to select the output of mux (1) cleared by user to select the bit value from pladin 5 mux (2) control set by user to select the input pin of the particular element cleared by user to select the output of mux (0) 0000 C 0 0001 C nor 4-1 look-up table control 0010 C b and not a
preliminary technical data aduc702x series rev. prc | page 63 of 80 0011 C not a 0100 C a and not b 0101 C not b 0110 C exor 0111 C nand 1000 C and 1001 C exnor 1010 C b 1011 C not a or b 1100 C a 1101 C a or not b 1110 C or 1111 C 1 0 mux (4) control set by user to bypass the flip-flop cleared by user to select the flip-flop. cleared by default table 53: placlk mmr bit descriptions bit description 7 reserved block1 clock source selection: 000 C gpio clock on p0.5 001 C gpio clock on p0.0 010 C gpio clock on p0.7 011 C hclk 100 C oclk 101 - timer 1 overflow 6-4 other C reserved 3 reserved block0 clock source selection: 000 C gpio clock on p0.5 001 C gpio clock on p0.0 010 C gpio clock on p0.7 011 C hclk 100 C oclk 101 - timer 1 overflow 2-0 other C reserved table 54: plairq mmr bit descriptions bit description 15-13 reserved 12 pla irq1 enable bit set by user to enable irq1 output from pla cleared by user to disable irq1 output from pla 11-8 pla irq1 source 0000 C pla element 0 0001 C pla element 1 1111 C pla element 15 7-5 reserved 4 pla irq0 enable bit set by user to enable irq0 output from pla cleared by user to disable irq0 output from pla
aduc702x series preliminary technical data rev. prc | page 64 of 80 3-0 pla irq0 source 0000 C pla element 0 0001 C pla element 1 1111 C pla element 15 table 55: plaadc mmr bit descriptions bit description 31-5 reserved 4 adc start conversion enable bit set by user to enable adc start conversion from pla cleared by user to disable adc start conversion from pla 3-0 adc start conversion source 0000 C pla element 0 0001 C pla element 1 1111 C pla element 15 table 56: pladin mmr bit descriptions bit description 31-16 reserved 15-0 input bit to element 15-0 table 57: pladout mmr bit descriptions bit description 31-16 reserved 15-0 output bit from element 15-0
preliminary technical data aduc702x series rev. prc | page 65 of 80 processor reference peripherals interrupt system there are 24 interrupt sources on the aduc702x which are controlled by the interrupt controller. most interrupts are generated from the on-chip peripherals like adc, uart, etc. and two additional interrupt sources are generated from external interrupt request pins, xirq0 and xirq1. the arm7tdmi cpu core will only recognise interrupts as one of two types, a normal interrupt request irq and a fast interrupt request fiq. all the interrupts can be masked separately. the control and configuration of the interrupt system is managed through nine interrupt-related registers, four dedicated to irq, four dedicated to fiq. an additional mmr is used to select the programmed interrupt source. the bits in each irq and fiq registers represent the same interrupt source as described in table 58. table 58: irq/fiq mmr s bit description bit descri p tion 0 all interru p ts ored 1 swi: not used in irqen/clr and fiqen/clr 2 timer 0 3 timer 1 4 wake u p timer C timer 2 5 watchdo g timer C timer 3 6 flash control 7 adc channel 8 pll lock 9 i 2 c0 slave 10 i 2 c0 master 11 i 2 c1 master 12 spi slave 13 spi master 14 uart 15 external ir q 0 16 com p arator 17 psm 18 external ir q 1 19 pla ir q 0 20 pla ir q 1 21 external ir q 2 22 external ir q 3 23 pwm tri p 24 pwm s y nc irq the irq is the exception signal to enter the irq mode of the processor. it is used to se rvice general purpose interrupt handling of internal and external events. the four 32-bit registers dedicated to irq are: - irqsig , reflects the status of the different irq sources. if a peripheral generate an irq signal, the corresponding bit in the irqsig will be set, otherwise it is cleared. the irqsig bits are cleared when the interrupt in the particular peripheral is cleared. all irq sources can be masked in the irqen mmr. irqsig is read-only. - irqen , provides the value of the current enable mask. when bit is set to 1, the source request is enabled to create an irq exception. when bit is set to 0, the source request is disabled or masked which will not create an irq exception. to clear a bit in irqen, use the irqclr mmr. - irqclr , (write-only register) a llows clearing the irqen register in order to mask an in terrupt source. each bit set to 1 will clear the corresponding bit in the irqen register without affecting the remaining bits. the pair of registers irqen and irqclr allows independent manipulation of the enable mask without requiring an atomic read-modify- write. - irqsta , (read-only register) prov ides the current enabled irq source status. when set to 1 that source should generate an active irq request to the arm7tdmi core. there is no priority encoder or interrupt vector generation. this function is implemented in software in a common interrupt handler routine. all 32 bits are logically ored to create the irq signal to the arm7tdmi core. fiq the fiq (fast interrupt request) is the exception signal to enter the fiq mode of the processor. it is provided to service data transferor communication channel tasks with low latency. the fiq interface is identical to the irq interface providing the second level interrupt (highest priority). four 32-bit registers are dedicated to fiq, fiqsig, fiqen, fiqclr and fiqsta. bit 31 to 1 of fiqsta are logi cally ored to create the fiq signal to the core and the bit 0 of both the fiq and irq registers (fiq source). the logic for fiqen and fiqclr will not allow an interrupt source to be enabled in both irq and fiq masks. a bit set to 1 in fiqen will, as a side-effect, clear the same bit in irqen. a bit set to 1 in irqen will, as a side-effect, clear the same bit in fiqen. an interrupt source can be disabled in both irqen and fiqen masks. programmed interrupts as the programmed interrupts are non-mask-able, they are controlled by another register, swicfg, which write into both
aduc702x series preliminary technical data rev. prc | page 66 of 80 irqsta and irqsig registers or/and fiqsta and fiqsig registers at the same time. the 32-bit register dedicated to software interrupt is swicfg described table 59. this mmr allows the control of programmed source interrupt. table 59: swicfg mmr bit descriptions bit description 31-3 reserved 2 programmed interrupt-fiq setting/clearing this bit correspond in setting/clearing bit 1 of fiqsta and fiqsig 1 programmed interrupt-irq setting/clearing this bit correspond in setti ng/clearing bit 1 of irqsta and irqsig 0 reserved note that any interrupt signal must be active for at least the equivalent of the interrupt latency time, to be detected by the interrupt controller and to be detected by user in the irqsta/fiqsta register.
preliminary technical data aduc702x series rev. prc | page 67 of 80 timers the aduc702x has four general purpose timer/counters: - timer0, - timer1, - timer2 or wake-up timer, - timer3 or watchdog timer. the four timers in their normal mode of operation can be either free-running or periodic. - in free-running mode the counter decrements/increments from the maximum/minimum value until zero/full scale and starts again at the maximum /minimum value. - in periodic mode the counter decrements/increments from the value in the load register(txld mmr,) until zero/full scale and starts again at the value stored in the load register. the value of a counter can be read at any time by accessing its value register (txval). timers are started by writing in the control register of the corresponding timer (txcon). in normal mode, an irq is generated each time the value of the counter reaches zero, if counting down, or full-scale, if counting up. an irq can be cleared by writing any value to clear register of the particular timer (txclri). timer0 C rtos timer timer0 is a general purpose 16-bit count-down timer with a programmable prescaler. the prescaler source is the core clock frequency and can be scaled by factors of 1, 16 or 256. core clock 16-bit down counter timer0 value 16-bit load timer0irq prescaler /1,16or256 figure 28:timer 0 block diagram timer0 interface consists in four mmrs: - t0ld and t0val are 16-bit registers (bit 0 to 15) and hold 16-bit unsigned integers. t0val is read-only. - t0clri is an 8-bit register. writing any value to this register will clear the interrupt - t0con is the configuration mmr described in table 60 below table 60: t0con mmr bit descriptions bit name description 31-8 reserved 7 timer0 enable bit: set by user to enable timer 0 cleared by user to disable timer 0. by default. 6 timer 0 mode: set by user to operate in periodic mode cleared by user to operate in free-running mode. default mode 5-4 reserved prescale: 00 core clock / 1. value by default 01 core clock / 16 10 core clock / 256 3-2 11 undefined. equivalent to 00 1-0 reserved timer1 timer1 is a 32-bit general purpose timer, count-down or count- up, with a programmable prescaler. the prescaler source can be the 32khz external crystal, the core clock frequency, or an external gpio, p1.0 or p0.6. this source can be scaled by a factor of 1, 16, 256 or 32768. the counter can be formatted as a standard 32-bit value or as hours:minutes:seconds:hundreths. timer1 has a capture register (t1cap), which can be triggered by a selected irq source initial assertion. this feature can be used to determine the assertion of an event with more accuracy than the precision allowed by the rtos timer at the time the irq is serviced. timer 1 can be used to start ad c conversions as shown in the block diagramfigure 29. timer1 interface consists in five mmrs: - t1ld , t1val and t1cap are 32-bit registers and hold 32-
aduc702x series preliminary technical data rev. prc | page 68 of 80 bit unsigned integers. t1val and t1cap are read-only. - t1clri is an 8-bit register. writing any value to this register will clear the timer1 interrupt. - t1con is the configuration mmr described in table 61 below. prescaler /1,16,256 or 32768 32khz external crystal core clock frequency p0.6 p1.0 timer1irq 32-bit up/down counter 32-bit load capture irq[31:0] timer1 value adc conversion figure 29:timer 1 block diagram table 61: t1con mmr bit descriptions bit description 31-18 reserved 17 event select bit: set by user to enable time capture of an event cleared by user to disable time capture of an event 16-12 event select range, 0 to 31 the events are as described in table 58 . all events are offset by 2, i.e. event 2 in table 58 becomes event zero for the purposes of timer 1. clock select: 000 core clock 001 external 32.768khz crystal 010 p1.0 raising edge triggered 11-9 011 p0.6 raising edge triggered 8 count up: set by user for timer 1 to count up cleared by user for timer 1 to count down. by default 7 timer1 enable bit: set by user to enable timer 1 cleared by user to disable timer 1. by default. 6 timer 1 mode: set by user to operate in periodic mode cleared by user to operate in free-running mode. default mode format: 00 binary 01 reserved 10 hr:min:sec:hundredths C 23 hours to 0 hour 5-4 11 hr:min:sec:hundredths C 255 hours to 0 hour prescale: 0000 source clock / 1 0100 source clock / 16 1000 source clock / 256 3-0 1111 source clock / 32768 timer2 - wake-up timer timer2 is a 32-bit wake-up timer, count-down or count-up, with a programmable prescaler. it is clocked directly by the internal 32.768khz oscillator. th e wake-up timer will continue to run when the core clock is disabled. the clock source can be scaled by a factor of 1, 16, 256 or 32768. the counter can be formatted as plain 32-bit value or as hours:minutes:seconds:hundreths. timer 2 can be used to start ad c conversions as shown in the block diagram figure 30..
preliminary technical data aduc702x series rev. prc | page 69 of 80 timer2 interface consists in four mmrs: - t2ld and t2val are 32-bit registers and hold 32-bit unsigned integers. t2val is read-only. - t2clri is an 8-bit register. writing any value to this register will clear the timer2 interrupt. - t2con is the configuration mmr described in table 62 below. 32.768khz oscillator prescaler /1,16,256 or 32768 32-bit up/down counter timer2irq 32-bit load timer2 value adc conversion figure 30:timer 2 block diagram table 62: t2con mmr bit descriptions bit description 31-9 reserved 8 count up: set by user for timer 2 to count up cleared by user for timer 2 to count down. by default 7 timer2 enable bit: set by user to enable timer 2 cleared by user to disable timer 2. by default. 6 timer 2 mode: set by user to operate in periodic mode cleared by user to operate in free-running mode. default mode format: 00 binary 01 reserved 10 hr:min:sec:hundredths C 23 hours to 0 hour 5-4 11 hr:min:sec:hundredths C 255 hours to 0 hour prescale: 0000 source clock / 1 by default 0100 source clock / 16 1000 source clock / 256 expected for format 2 and 3 3-0 1111 source clock / 32768 timer3 - watchdog timer timer3 has two modes of operation, normal mode and watchdog mode. the watchdog timer is used to recover from an illegal software state. once enabled it requires periodic servicing to prevent it from forcing a reset of the processor. normal mode: the timer3 in normal mode is identical to timer0 except for the clock source and the count-up functionality. the clock source is 32khz from the pll and can be scaled by a factor of 1, 16 or 256. 16-bit up/down counter 16-bit load timer3irq watchdog reset timer3 value 32.768khz prescaler /1,16or256 figure 31:timer 3 block diagram watchdog mode: watchdog mode is entered by setting bit 5 in t3con mmr. timer3 decrements from the value present in t3ld register until zero. t3ld is used as timeout. the timeout can be 512 seconds maximum, using the maximum prescaler, /256, full- scale in t3ld. timer3 is clocked by the internal 32khz crystal when operating in the watchdog mode. note: in order to enter watchdog mode successfully bit 5 in the t3con mmr must be set prior to writing to the t3ld mmr. if the timer reaches 0, a reset or an interrupt occurs, depending on bit 1 in t3con register. to avoid reset or interrupt, any value must be written to t3iclr before the expiration period.
aduc702x series preliminary technical data rev. prc | page 70 of 80 this reloads the counter with t3ld and begins a new timeout period. as soon watchdog mode is entered, t3ld and t3con are write-protected. these two registers can not be modified until a reset clears the watchdog enable bit and causes timer3 to exit watchdog mode. timer3 interface: it consists in four mmrs: - t3ld and t3val are 16-bit registers (bit 0 to 15) and hold 16-bit unsigned integers. t0val is read-only. - t3clri is an 8-bit register. writing any value to this register will clear the timer3 interrupt in normal mode or will reset a new timeout period in watchdog mode. - t3con is the configuration mmr described in table 63. secure bit clear (watchdog mode only): the secure clear bit is provided for a higher level of protection. when set, a specific sequential value must be written to t3iclr to avoid a watchdog reset. the value is a sequence generated by the 8-bit lfsr (linear feedback shift register) polynomial = x8 + x6 + x5 + x + 1 as shown figure 32. the initial value or seed is written to t3iclr before entering watchdog mode. after entering watchdog mode, a write to t3iclr must match this expected value. if it matches, the lfsr is advanced to the next state when the counter reload happens. if it fails to match the expected state, reset is immediately generated, even if the count has not yet expired. the value 0x00 should not be used as an initial seed due to the properties of the polynomial. the value 0x00 will always be guaranteed to force an immediat e reset. the value of the lfsr can not be read; it must be tracked/generated in software. d q 6 d q 0 d q 1 d q 2 d q 3 d q 7 d q 4 d q 5 clock figure 32: 8-bit lfsr example of sequence: 1) entered initial seed in t3iclr, 0xaa, before starting timer 3 in watchdog mode 2) enter 0xaa in t3iclr, timer 3 is reloaded 3) enter 0x37 in t3iclr, timer 3 is reloaded 4) enter 0x6e in t3iclr, timer 3 is reloaded 5) enter 0x66. 0xdc was expected, the watchdog reset the chip. table 63: t3con mmr bit descriptions bit description 31-9 reserved 8 count up: set by user for timer 3 to count up cleared by user for timer 3 to count down. by default 7 timer3 enable bit: set by user to enable timer 3 cleared by user to disable timer 3. by default. 6 timer 3 mode: set by user to operate in periodic mode cleared by user to operate in free-running mode. default mode 5 watchdog mode enable bit: set by user to enable watchdog mode cleared by user to disable watchdog mode. by default. 4 secure clear bit: set by user to use the secure clear option cleared by user to disable the secure clear option. by default. prescale: 00 source clock / 1 by default 01 source clock / 16 10 source clock / 256 3-2 11 undefined. equivalent to 00 1 watchdog irq option bit: set by user to produce an irq instead of a reset when the watchdog reaches 0 cleared by user to disable the irq option. 0 reserved
preliminary technical data aduc702x series rev. prc | page 71 of 80 external memory interfacing the only aduc702x models which feature an external memory interface are the aduc7026 and aduc7027. the external memory interface requires a larger number of pins, this is why it is only available on larger pin count package. the pins required for interfacing to an external memory are: pin function ad [ 15:0 } address/data bus a16 extended addressin g ms [ 3:0 } memor y select pins wr write strobe rs read strobe ae address latch enable bhe , ble b y te write ca p abilit y there are four external memory regions available. these are documented in the table below. address start address end contents 0x10000000 0x1001ffff external memory 0 0x20000000 0x2001ffff external memory 1 0x30000000 0x3001ffff external memory 2 0x40000000 0x4001ffff external memory 3 each external memory region can be controlled through the following three mmrs xmcfg is set to 1 to enable external memory access. this must be set to 1 before any port pins will function as external memory access pins. the port pins must also be individually enabled via the gpxcon mmr xmxcon are registers that enable/disable a memory region. this register also controls the data bus width of the memory region. xmxpar are registers that define the protocol used for accessing the external memory for each memory region. table 64: xmxcon mmr bit descriptions bit description 1 selects between 8 and 16 bit data bus width. set by the user to select a 16 bit data bus cleared by the user to select an 8 bit data bus. 0 enables memory region set by the user to enable memory region cleared by the user to disable the memory region table 65: xmxpar mmr bit descriptions bit description 15 enable byte write strobe set by the user gates the bhe and ble outputs with the wr output. this allows byte write capability without using 14-12 number of wait states on the address latch enable strobe. 11 enable dynamic addressing set by the user to enable 16 bit addressing mode cleared by the user to enab le 8 bit addressing mode 10 extra address hold time set by the user to di sable extra hold time cleared by the user to enable one clock cy cle of hold on addre ss in read and write 9 extra bus transition time on read set by the user to disable extra bus transition time cleared by the user to enable one extra cl ock before and after the read strobe, rs 8 extra bus transition time on write set by the user to disable extra bus transition time cleared by the user to enable one extra cl ock before and after the write strobe, ws
aduc702x series preliminary technical data rev. prc | page 72 of 80 7-4 number of write wait states set by the user to select the number of wait states added to the length of the ws pulse. 0x0 is 1clock 0xf is 16 clock cycles (default value) 3-0 number of read wait states set by the user to select the number of wait states added to the length of the rs pulse. 0x0 is 1clock 0xf is 16 clock cycles (default value) latch eprom oe a0:15 d0-d15 a16 we aduc7026 aduc7027 rs ae ad15:0 a16 ws ms0 ms1 ram oe a0:15 d0-d15 a16 we cs cs figure 33 interfacing to external eprom/ram
preliminary technical data aduc702x series rev. prc | page 73 of 80 ae rs ws mclk ad 16:0 msx address data figure 34: external memory read cycle ae rs ws mclk ad 16:0 msx address data figure 35: external memory read cycle with address hold and bus turn cycles
aduc702x series preliminary technical data rev. prc | page 74 of 80 ae rs ws mclk ad 16:0 msx address data figure 36: external memory write cycle with address and write hold cycles ae rs ws mclk ad 16:0 msx address data figure 37: external memory write cycle with wait states
preliminary technical data aduc702x series rev. prc | page 75 of 80 aduc702x hardware design considerations power supplies the aduc702x operational power supply voltage range is 2.7v to 3.6v. separate analog and digital power supply pins (av dd and iov dd , respectively) allow av dd to be kept relatively free of noisy digital signals often present on the system iov dd line. in this mode, the part can also operate with split supplies; that is, using different voltage supply levels for each supply. for example, this means that the system can be designed to operate with a iov dd voltage level of 3.3 v while the av dd level can be at 3 v, or vice versa if required. a typical split supply configuration is shown in figure 38. iov dd aduc7026 agnd av dd - + 0.1 f 10 f a n a log supply 10 f iognd 0.1 f digital supply - + gnd ref dacv dd dacgnd refgnd figure 38: external dual supply connections as an alternative to providing two separate power supplies, the user can help keep av dd quiet by placing a small series resistor and/or ferrite bead between it and iov dd , and then decoupling av dd separately to ground. an example of this configuration is shown in figure 39. with this configuration other analog circuitry (such as op amps, voltage reference, and so on) can be powered from the av dd supply line as well. iov dd aduc7026 agnd av dd 0.1uf iognd 0.1uf gnd ref dacv dd dacgnd refgnd 10uf - + 10uf 1.6 v bead digit a lsuppl y figure 39: external single supply connections notice that in both figure 38 and figure 39, a large value (10 f) reservoir capacitor sits on iov dd and a separate 10 f capacitor sits on av dd . also, local small-value (0.1 f) capacitors are located at each av dd and iov dd pin of the chip. as per standard design practice, be sure to include all of these capacitors, and ensure the smalle r capacitors are close to each av dd pin with trace lengths as short as possible. connect the ground terminal of each of these capacitors directly to the underlying ground plane. it should also be noted that, at all times, the analog and digital ground pins on the aduc702x must be referenced to the same system ground reference point. finally, on the csp package, the paddle on the bottom of the package should be soldered to a metal plate to provide mechanical stability. this meta l plate should not be connected to ground. linear voltage regulator the aduc702x requires a single 3.3v supply but the core logic requires a 2.5v supply. an on-chip linear regulator generates the 2.5v from iov dd for the core logic. lv dd pin 21 is the 2.5v supply for the core logic. an external compensation capacitor of 0.47 f must be connected between lv dd and dgnd (as close as possible to these pins) to act as a tank of charge as shown figure 40. aduc7026 0.47 f dgnd lv dd figure 40: voltage regulator connections the lv dd pin should not be used for any other chip. it is also recommended that the iov dd has excellent power supply decoupling this to help improving line regulation performance of the on-chip voltage regulator. grounding and board layout recommendations as with all high resolution data converters, special attention must be paid to grounding and pc board layout of aduc702x- based designs in order to achieve optimum performance from the adcs and dac. although the aduc702x has separate pins for analog and digital ground (agnd and iognd), the user must not tie these to two separate ground planes unless the two ground planes are connected together very close to the aduc702x, as illustrated in the simplified example of figure 41a. in systems where digital and analog ground planes are connected together somewhere else (at the systems power supply for example), they cannot be conne cted again near the aduc702x since a ground loop would result. in these cases, tie the aduc702xs agnd and iognd pins all to the analog ground plane, as illustrated in figure 41b. in systems with only one ground plane, ensure that the digital and analog components are
aduc702x series preliminary technical data rev. prc | page 76 of 80 physically separated onto separate halves of the board such that digital return currents do not flow near analog circuitry and vice versa. the aduc702x can then be placed between the digital and analog sections, as illustrated in figure 41c. b. dgnd agnd place analog components here place digital components here c. gnd place analog components here place digital components here dgnd place analog components here a. agnd place digital components here figure 41:. system grounding schemes in all of these scenarios, and in more complicated real-life applications, keep in mind the flow of current from the supplies and back to ground. make sure the return paths for all currents are as close as possible to the paths the currents took to reach their destinations. for example, do not power components on the analog side of figure 41b with iov dd since that would force return currents from iov dd to flow through agnd. also, try to avoid digital currents flowing under analog circuitry, which could happen if the user placed a noisy digital chip on the left half of the board in figure 41c. whenever possible, avoid large discontinuities in the ground plan e(s) (such as are formed by a long trace on the same layer), si nce they force return signals to travel a longer path. and of course, make all connections to the ground plane directly, with little or no trace separating the pin from its via to ground. if the user plans to connect fast logic signals (rise/fall time < 5 ns) to any of the aduc702xs digital inputs, add a series resistor to each relevant line to keep rise and fall times longer than 5 ns at the aduc702x input pins. a value of 100 ? or 200 ? is usually sufficient to prev ent high speed signals from coupling capacitively into the aduc702x and affecting the accuracy of adc conversions. clock oscillator the clock source for the aduc 702x can be generated by the internal pll or by an external clock input. to use the internal pll, connect a 32.768khz paralle l resonant crystal between xclki and xclko as shown figure 42. external capacitors should be connected as per the crystal manufacturers recommendations. note that the crystal pads already have an internal capacitance of typically 10pf. user should ensure that the total capacitance (10pf internal + external capacitance) doesnt exceed the manufacturer rating. this 32khz crystal allows the p ll to lock correctly to give a frequency of 45.088mhz. if no external crystal is present, the internal oscillator will be us ed to give a frequency of 45.088mhz 5% typically. 12pf xclki xclko 32.768khz to internal pll aduc7026 12pf 44 45 figure 42: external parallel resonant crystal connections to use an external source clock input instead of the pll, bit 1 and bit 0 of pllcon must be modified. the external clock uses pin 17, xclk. to frequency divider aduc7026 xclk 22 external clock source xclki 45 figure 43:connecting an external clock source whether using the internal pll or an external clock source, the aduc702xs specified operational clock speed range is 50khz to 45mhz to ensure correct oper ation of the analog peripherals and flash/ee. power-on reset operation an internal por (power-on reset) is implemented on the aduc702x. for lv dd below 1.98 v, the internal por will hold the aduc702x in reset. as lv dd rises above 1.98 v, an internal timer will time out for typically 128 ms before the part is released from reset. the user must ensure that the power supply iov dd has reached a stable 2.7 v minimum level by this time. likewise on power-down, the internal por will hold the aduc702x in reset until lv dd has dropped below 1.98v. figure 44 illustrates the operation of the internal por in detail.
preliminary technical data aduc702x series rev. prc | page 77 of 80 128ms typ 1.98v typ iov dd 3 . 3 v lv dd 2.5v 1.98v typ 0.12ms typ por mrst figure 44:. aduc7024/aduc7025 inte rnal power-on-reset operation typical sysem configuration a typical aduc7024/aduc7025 configuration is sh own in figure 45. it summarizes some of the hardware consid erations discussed in the previous paragraphs. figure 45:. typical system configuration
aduc702x series preliminary technical data rev. prc | page 78 of 80 development tools an entry level, low cost developm ent system is available for the aduc702x family. this system co nsists of the following pc- based (windows? compatible ) hardware and software development tools: hardware: - aduc702x evaluation board - serial port programming cable - jtag emulator software: - integrated development en vironment, incorporating assembler, compiler and non intrusive jtag-based debugger - serial downloader software - example code miscellaneous: - cd-rom documentation in-circuit serial downloader the serial downloader is a windows application that allows the user to serially download an assembled program to the on- chip program flash/ee memory via the serial port on a standard pc.
preliminary technical data aduc702x series rev. 0 | page 79 of 80 outline dimensions on the csp package, the paddle on the bottom of the package should be soldered to a metal plate to provide mechanical stability . this metal plate should not be connected to ground. 1 40 10 11 31 30 21 20 4.25 4.10 sq 3.95 top view 6.00 bsc sq pin 1 indicator 5.75 bsc sq 12 8 max 0.30 0.23 0.18 0.20 ref seating plane 1.00 0.85 0.80 0.05 max 0.02 nom coplanarity 0.08 0.80 max 0.65 typ 4.50 ref 0.50 0.40 0.30 0.50 bsc pin 1 indicator 0.60 max 0.60 max 0.25 min exposed pad (bottom view) compliant to jedec standards mo-220-vjjd-2 a 40-lea d lea d frame chi p s c ale pa c k age [ lfcsp] 6 x 6 mm body (cp-40) dimensions shown in millimeters figure 6. 40-lead frame chip scale package [lfcsp] (cp-40)dimensions shown in millimetres pin 1 indicator top view 8.75 bsc sq 9.00 bsc sq 1 64 16 17 49 48 32 33 0.45 0.40 0.35 0.50 bsc 0.20 ref 12 max 0.80 max 0.65 typ 1.00 0.85 0.80 7.50 ref 0.05 max 0.02 nom 0.60 max 0.60 max 4.85 4.70 sq 4.55 seating plane pin 1 indicator exposed pad (bottom view) 0.30 0.25 0.18 6 4 -lead lead frame chip scale package [ lfcsp] 9 x 9 mm body (cp-64-1) dimensions shown in millimet ers compliant to jedec standards mo- 220-vmmd figure 46. 64-lead frame chip scale package [lfcsp] (cp-64-1)dimensions shown in millimetres
aduc702x series preliminary technical data rev. prc | page 80 of 80 1 16 17 33 32 48 49 64 top view 0.47(12.0) bsc 0.39(10.0) bsc 0.02 (0.50) bsc 0.0087 0.002 (0.22 0.05) seating plane 0.063 (1.60) max 0.024 0.006 (0.60 0.15) 12 o typ 0 o 3.5 o 3.5 o 0.006(0.15) 0.002(0.05) figure 47. 64-lead lqf package [lqfp] (s-64)dimensions shown in millimetres seating plane 0.063 (1.60) max 0.030 (0.75) 0.020 (0.50) 0.003 (0.08) max 0.057 (1.45) 0.053 (1.35) 0.006 (0.15) 0.002 (0.05) 0.011 (0.27) 0.007 (0.17) 0.559 (14.20) 0.543 (13.80) 0.480 (12.20) 0.465 (11.80) 0 . 4 8 0 ( 1 2 . 2 0 ) 0 . 4 6 5 ( 1 1 . 8 0 ) 0 . 5 4 3 ( 1 4 . 2 0 ) 0 . 5 4 3 ( 1 3 . 8 0 ) 1 20 21 41 40 60 61 80 top view (pins dow n) 0.019 (0.50) bsc figure 2. 80-lead lqf package [lqfp] (s-80)dimensions shown in millimetres


▲Up To Search▲   

 
Price & Availability of ADUC7020ACP62

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X